From: miicha Date: Tue, 5 Nov 2013 00:24:20 +0000 (+0100) Subject: allow empty user-dn and password X-Git-Tag: v6.0.0beta3~6^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5b9bdaadaac4e2ff205d9428d4843e3eca40297f;p=nextcloud-server.git 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... --- diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index 4c2f182dad8..79d0176baa9 100644 --- a/apps/user_ldap/js/settings.js +++ b/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 {