Browse Source

[desktop] Fix typo that broke ldap authentication

Erick Tryzelaar 10 years ago
parent
commit
5c95af176b
1 changed files with 1 additions and 1 deletions
  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: