]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fix #5251: tfa: set autocomplete on tfa input form
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Mon, 19 Feb 2024 10:37:04 +0000 (11:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 15:10:43 +0000 (17:10 +0200)
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
src/window/TfaWindow.js

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