mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 03:13:06 +00:00
ui: tfa: fix secret validator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ca7f3b3496
commit
0bc11f81f1
@ -326,9 +326,8 @@ Ext.define('PVE.window.TFAEdit', {
|
||||
emptyText: gettext('Unchanged'),
|
||||
name: 'secret',
|
||||
reference: 'tfa_secret',
|
||||
validateValue: function(value) {
|
||||
return value.match(/^[A-Z2-7=]$/);
|
||||
},
|
||||
regex: /^[A-Z2-7=]+$/,
|
||||
regexText: 'Must be base32 [A-Z2-7=]',
|
||||
qrupdate: true,
|
||||
flex: 4
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user