window: ldap auth edit forbid specifying a bind_dn without a password
this commit enforces passwords when using an non-anonymous bind. hence, it removes the possibility of configuring unauthenticated binds and brings the gui in-line with the backend. Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
parent
efcb34fa21
commit
085eed30c2
@ -113,9 +113,9 @@ Ext.define('Proxmox.panel.LDAPInputPanel', {
|
||||
inputType: 'password',
|
||||
fieldLabel: gettext('Bind Password'),
|
||||
name: 'password',
|
||||
allowBlank: true,
|
||||
cbind: {
|
||||
emptyText: get => !get('isCreate') ? gettext('Unchanged') : '',
|
||||
allowBlank: '{!isCreate}',
|
||||
},
|
||||
bind: {
|
||||
disabled: "{anonymous_search}",
|
||||
|
Loading…
Reference in New Issue
Block a user