Sfoglia il codice sorgente

[desktop] Fix typo that broke ldap authentication

Erick Tryzelaar 10 anni fa
parent
commit
5c95af176b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      desktop/core/src/desktop/auth/backend.py

+ 1 - 1
desktop/core/src/desktop/auth/backend.py

@@ -365,7 +365,7 @@ class LdapBackend(object):
 
         bind_password = ldap_config.BIND_PASSWORD.get()
         if not bind_password:
-          password = ldap_config.BIND_PASSWORD_SCRIPT.get()
+          bind_password = ldap_config.BIND_PASSWORD_SCRIPT.get()
         setattr(self._backend.settings, 'BIND_PASSWORD', bind_password)
 
       if user_filter is None: