allow empty user-dn and password

help tooltip shows completely right: leave both blank for anonyous access. But if you leave it blank js doesn't allow you to edit any other settings...
remotes/origin/stable6
miicha 12 years ago
parent b767bbcdda
commit 5b9bdaadaa
  1. 2
      apps/user_ldap/js/settings.js

@ -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) {
$('.ldap_action_continue').removeAttr('disabled');
$('#ldapSettings').tabs('option', 'disabled', []);
} else {

Loading…
Cancel
Save