[pve-devel] [PATCH widget-toolkit] fix-5251: tfa: set autocomplete on tfa input form

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Feb 19 11:24:51 CET 2024


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 src/window/TfaWindow.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/window/TfaWindow.js b/src/window/TfaWindow.js
index 3646e0e..7c6f2ee 100644
--- a/src/window/TfaWindow.js
+++ b/src/window/TfaWindow.js
@@ -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',
 		    },
 		],
 	    },
-- 
2.39.2





More information about the pve-devel mailing list