ui: tfa: adapt low recovery key hint, drop unused other hint
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
572fc035a2
commit
bd768c3320
@ -553,18 +553,12 @@ Ext.define('PBS.login.TfaWindow', {
|
|||||||
regex: /^[0-9a-f]{4}(-[0-9a-f]{4}){3}$/,
|
regex: /^[0-9a-f]{4}(-[0-9a-f]{4}){3}$/,
|
||||||
regexText: 'Does not looks like a valid recovery key',
|
regexText: 'Does not looks like a valid recovery key',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
xtype: 'box',
|
|
||||||
reference: 'recoveryInfo',
|
|
||||||
hidden: true, // FIXME: remove this?
|
|
||||||
html: gettext('Note that each recovery code can only be used once!'),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
xtype: 'box',
|
xtype: 'box',
|
||||||
reference: 'recoveryLow',
|
reference: 'recoveryLow',
|
||||||
hidden: true,
|
hidden: true,
|
||||||
html: '<i class="fa fa-exclamation-triangle warning"></i>'
|
html: '<i class="fa fa-exclamation-triangle warning"></i>'
|
||||||
+ gettext('Less than {0} recovery keys available. Please generate a new set!'),
|
+ gettext('Less than {0} recovery keys available. Please generate a new set after login!'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user