mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-12 14:20:12 +00:00
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',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Bind Password'),
|
fieldLabel: gettext('Bind Password'),
|
||||||
name: 'password',
|
name: 'password',
|
||||||
allowBlank: true,
|
|
||||||
cbind: {
|
cbind: {
|
||||||
emptyText: get => !get('isCreate') ? gettext('Unchanged') : '',
|
emptyText: get => !get('isCreate') ? gettext('Unchanged') : '',
|
||||||
|
allowBlank: '{!isCreate}',
|
||||||
},
|
},
|
||||||
bind: {
|
bind: {
|
||||||
disabled: "{anonymous_search}",
|
disabled: "{anonymous_search}",
|
||||||
|
Loading…
Reference in New Issue
Block a user