mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-07-26 03:36:32 +00:00
ui: set min length for new passwords to 8
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
This commit is contained in:
parent
fb5b6f3eab
commit
d3f2e69cad
@ -61,6 +61,7 @@ Ext.define('PBS.config.UserView', {
|
|||||||
Ext.create('Proxmox.window.PasswordEdit', {
|
Ext.create('Proxmox.window.PasswordEdit', {
|
||||||
userid: selection[0].data.userid,
|
userid: selection[0].data.userid,
|
||||||
confirmCurrentPassword: Proxmox.UserName !== 'root@pam',
|
confirmCurrentPassword: Proxmox.UserName !== 'root@pam',
|
||||||
|
minLength: 8,
|
||||||
}).show();
|
}).show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ Ext.define('PBS.window.UserEdit', {
|
|||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
inputType: 'password',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Password'),
|
fieldLabel: gettext('Password'),
|
||||||
minLength: 5,
|
minLength: 8,
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
name: 'password',
|
name: 'password',
|
||||||
listeners: {
|
listeners: {
|
||||||
|
Loading…
Reference in New Issue
Block a user