[pve-devel] [PATCH pmg-gui v2] fix #5251: login: set autocomplete on password and user

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Feb 19 11:37:06 CET 2024


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 js/LoginView.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/js/LoginView.js b/js/LoginView.js
index 63f4099..b5da19a 100644
--- a/js/LoginView.js
+++ b/js/LoginView.js
@@ -249,6 +249,7 @@ Ext.define('PMG.LoginView', {
 			    itemId: 'usernameField',
 			    reference: 'usernameField',
 			    stateId: 'login-username',
+			    inputAttrTpl: 'autocomplete=username',
 			},
 			{
 			    xtype: 'textfield',
@@ -256,6 +257,7 @@ Ext.define('PMG.LoginView', {
 			    fieldLabel: gettext('Password'),
 			    name: 'password',
 			    reference: 'passwordField',
+			    inputAttrTpl: 'autocomplete=current-password',
 			},
 			{
 			    xtype: 'proxmoxLanguageSelector',
-- 
2.39.2





More information about the pve-devel mailing list