mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-07-25 06:57:27 +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', {
|
||||
userid: selection[0].data.userid,
|
||||
confirmCurrentPassword: Proxmox.UserName !== 'root@pam',
|
||||
minLength: 8,
|
||||
}).show();
|
||||
},
|
||||
|
||||
|
@ -91,7 +91,7 @@ Ext.define('PBS.window.UserEdit', {
|
||||
xtype: 'textfield',
|
||||
inputType: 'password',
|
||||
fieldLabel: gettext('Password'),
|
||||
minLength: 5,
|
||||
minLength: 8,
|
||||
allowBlank: false,
|
||||
name: 'password',
|
||||
listeners: {
|
||||
|
Loading…
Reference in New Issue
Block a user