]> source.dussan.org Git - nextcloud-server.git/commitdiff
allow empty user-dn and password
authormiicha <pfitzner@physik.hu-berlin.de>
Tue, 5 Nov 2013 00:24:20 +0000 (01:24 +0100)
committermiicha <pfitzner@physik.hu-berlin.de>
Tue, 5 Nov 2013 00:24:20 +0000 (01:24 +0100)
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...

apps/user_ldap/js/settings.js

index 4c2f182dad8ff24d5dfea35bfcd05f7572fe7002..79d0176baa9bf3cfc41638aeee13b30a2257dde8 100644 (file)
@@ -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 {