mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-28 12:31:16 +00:00
PasswordEdit.js: do not allow blank passwords
This commit is contained in:
parent
4c21393ea7
commit
a1891d7676
@ -16,6 +16,7 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
||||
inputType: 'password',
|
||||
fieldLabel: gettext('Password'),
|
||||
minLength: 5,
|
||||
allowBlank: false,
|
||||
name: 'password',
|
||||
listeners: {
|
||||
change: function(field){
|
||||
@ -31,6 +32,7 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
||||
inputType: 'password',
|
||||
fieldLabel: gettext('Confirm password'),
|
||||
name: 'verifypassword',
|
||||
allowBlank: false,
|
||||
vtype: 'password',
|
||||
initialPassField: 'password',
|
||||
submitValue: false
|
||||
|
Loading…
Reference in New Issue
Block a user