Merge pull request #5692 from miicha/patch-2

allow empty user-dn and password
This commit is contained in:
VicDeo 2013-11-05 12:19:27 -08:00
commit 3e5a5567eb

View file

@ -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 {