ui: login view: fix missing trailing comma

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-01-19 19:43:25 +01:00
parent feb1645f37
commit 867bfc4378

View File

@ -386,7 +386,7 @@ Ext.define('PBS.login.TfaWindow', {
me.lookup('recoveryInfo').setVisible(true); me.lookup('recoveryInfo').setVisible(true);
console.log("RECOVERY:", view.challenge.recovery); console.log("RECOVERY:", view.challenge.recovery);
me.lookup('availableRecovery').update(Ext.String.htmlEncode( me.lookup('availableRecovery').update(Ext.String.htmlEncode(
gettext('Available recovery keys: ') + view.challenge.recovery.join(', ') gettext('Available recovery keys: ') + view.challenge.recovery.join(', '),
)); ));
me.lookup('availableRecovery').setVisible(true); me.lookup('availableRecovery').setVisible(true);
if (view.challenge.recovery.length <= 3) { if (view.challenge.recovery.length <= 3) {