ui: tfa: fix emptyText for password

One needs to enter their password, not the one from the user one
adds/deletes TFA.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2021-02-03 10:21:56 +01:00
parent cafccb5991
commit 2ba64bed18
4 changed files with 8 additions and 27 deletions

View File

@ -394,8 +394,8 @@ Ext.define('PBS.tfa.confirmRemove', {
validateBlank: true,
padding: '10 0 0 0',
cbind: {
emptyText: get =>
Ext.String.format(gettext("Confirm password of '{0}'"), get('userid')),
emptyText: () =>
Ext.String.format(gettext("Confirm your ({0}) password"), Proxmox.UserName),
},
},
],