mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-30 11:57:12 +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',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Password'),
|
fieldLabel: gettext('Password'),
|
||||||
minLength: 5,
|
minLength: 5,
|
||||||
|
allowBlank: false,
|
||||||
name: 'password',
|
name: 'password',
|
||||||
listeners: {
|
listeners: {
|
||||||
change: function(field){
|
change: function(field){
|
||||||
@ -31,6 +32,7 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
|||||||
inputType: 'password',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Confirm password'),
|
fieldLabel: gettext('Confirm password'),
|
||||||
name: 'verifypassword',
|
name: 'verifypassword',
|
||||||
|
allowBlank: false,
|
||||||
vtype: 'password',
|
vtype: 'password',
|
||||||
initialPassField: 'password',
|
initialPassField: 'password',
|
||||||
submitValue: false
|
submitValue: false
|
||||||
|
Loading…
Reference in New Issue
Block a user