diff options
author | VicDeo <dubiniuk@owncloud.com> | 2013-11-05 12:19:27 -0800 |
---|---|---|
committer | VicDeo <dubiniuk@owncloud.com> | 2013-11-05 12:19:27 -0800 |
commit | 3e5a5567eb8516f987b2f183980efa6a86be81ba (patch) | |
tree | 6a14bafd32819293f5a52491f2b46bee7252faa9 /apps | |
parent | 7c89309e2649235383955553300d0415b4b52e04 (diff) | |
parent | ef1183bf863795c03d15d03065bc6a3821640088 (diff) | |
download | nextcloud-server-3e5a5567eb8516f987b2f183980efa6a86be81ba.tar.gz nextcloud-server-3e5a5567eb8516f987b2f183980efa6a86be81ba.zip |
Merge pull request #5692 from miicha/patch-2
allow empty user-dn and password
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/js/settings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index 4c2f182dad8..aeb4b9bff59 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) && ((!agent && !pwd) || (agent && pwd))) { $('.ldap_action_continue').removeAttr('disabled'); $('#ldapSettings').tabs('option', 'disabled', []); } else { |