Skip to content
Snippets Groups Projects
Commit ef1183bf authored by miicha's avatar miicha
Browse files

allows agent and password or neither agent nor password

this contribution is MIT licensed
parent 5b9bdaad
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ var LdapWizard = {
pwd = $('#ldap_agent_password').val();
base = $('#ldap_base').val();
if(host && port && base) {
if((host && port && base) && ((!agent && !pwd) || (agent && pwd))) {
$('.ldap_action_continue').removeAttr('disabled');
$('#ldapSettings').tabs('option', 'disabled', []);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment