]> git.proxmox.com Git - pmg-gui.git/commitdiff
fix #5251: login: set autocomplete on password and user master
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Mon, 19 Feb 2024 10:37:06 +0000 (11:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 15:22:18 +0000 (17:22 +0200)
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
js/LoginView.js

index 63f4099d413c22820e1ae299809941af2eba7bdd..b5da19a812591927dc299c12c1f80a6117e17f1a 100644 (file)
@@ -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',