Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicDeo <dubiniuk@owncloud.com>2013-11-06 00:19:27 +0400
committerVicDeo <dubiniuk@owncloud.com>2013-11-06 00:19:27 +0400
commit3e5a5567eb8516f987b2f183980efa6a86be81ba (patch)
tree6a14bafd32819293f5a52491f2b46bee7252faa9
parent7c89309e2649235383955553300d0415b4b52e04 (diff)
parentef1183bf863795c03d15d03065bc6a3821640088 (diff)
Merge pull request #5692 from miicha/patch-2
allow empty user-dn and password
-rw-r--r--apps/user_ldap/js/settings.js2
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 {