fix #5251: tfa: set autocomplete on tfa input form

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2024-02-19 11:37:04 +01:00 committed by Thomas Lamprecht
parent af27e81747
commit 3a4432a6e4

View File

@ -374,6 +374,7 @@ Ext.define('Proxmox.window.TfaLoginWindow', {
allowBlank: false, allowBlank: false,
regex: /^[0-9]{2,16}$/, regex: /^[0-9]{2,16}$/,
regexText: gettext('TOTP codes usually consist of six decimal digits'), regexText: gettext('TOTP codes usually consist of six decimal digits'),
inputAttrTpl: 'autocomplete=one-time-code',
}, },
], ],
}, },