diff options
-rw-r--r-- | askbot/deps/django_authopenid/backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/deps/django_authopenid/backends.py b/askbot/deps/django_authopenid/backends.py index 515fbebe..54ce35a6 100644 --- a/askbot/deps/django_authopenid/backends.py +++ b/askbot/deps/django_authopenid/backends.py @@ -52,7 +52,7 @@ def ldap_authenticate(username, password): if master_username and master_password: ldap_session.simple_bind_s(master_username, master_password) - user_filter = askbot_settings.LDAP_USERNAME_FILTER_TEMPLATE % ( + user_filter = askbot_settings.LDAP_USER_FILTER_TEMPLATE % ( askbot_settings.LDAP_USERID_FIELD, username ) |