Merge pull request #5692 from miicha/patch-2
allow empty user-dn and password
This commit is contained in:
commit
3e5a5567eb
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ var LdapWizard = {
|
|||
pwd = $('#ldap_agent_password').val();
|
||||
base = $('#ldap_base').val();
|
||||
|
||||
if(host && port && agent && pwd && base) {
|
||||
if((host && port && base) && ((!agent && !pwd) || (agent && pwd))) {
|
||||
$('.ldap_action_continue').removeAttr('disabled');
|
||||
$('#ldapSettings').tabs('option', 'disabled', []);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue