diff options
author | jeffmad <jmadynski@expedia.com> | 2011-04-12 10:57:21 -0700 |
---|---|---|
committer | jeffmad <jmadynski@expedia.com> | 2011-04-12 10:57:21 -0700 |
commit | bf0147310a1fadcafd6c0076259142859d6d0a50 (patch) | |
tree | 9a799fc46fe7969e504d17ce60aa24cad7c97dc5 | |
parent | 1416064724824d813eec860ab32c677a3e872bdf (diff) | |
download | askbot-bf0147310a1fadcafd6c0076259142859d6d0a50.tar.gz askbot-bf0147310a1fadcafd6c0076259142859d6d0a50.tar.bz2 askbot-bf0147310a1fadcafd6c0076259142859d6d0a50.zip |
handle ldap auth failure
-rw-r--r-- | askbot/deps/django_authopenid/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/deps/django_authopenid/views.py b/askbot/deps/django_authopenid/views.py index fd0308e7..411f18ef 100644 --- a/askbot/deps/django_authopenid/views.py +++ b/askbot/deps/django_authopenid/views.py @@ -317,6 +317,8 @@ def signin( login_provider_name = ldap_provider_name, redirect_url = next_url ) + else: + login_form.set_password_login_error() else: if password_action == 'login': user = authenticate( |