[pve-devel] [PATCH manager] gui: TFAEdit: use viemodel binding for hiding/showing qr code

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Feb 10 16:26:35 CET 2020

On 2/6/20 9:26 AM, Dominik Csapak wrote:
> and verification textfield.
> this fixes the issue that on the 'user menu' we accidentally showed
> the qr code and verification field, even if the user already had a
> totp code
> now it shows 'Unchanged' like when opened via dc/UserView

does not really work, the one from DC->Users still differs from this one.
If there's a 2F setup the qrcode should not be visible, else it's confusing
and different behaviour of same stuff is never good..

Additionally we may want to use another label for "Randomize" in this case,
e.g., "Generate New" to underline that there's already one.

More information about the pve-devel mailing list