summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeffmad <jmadynski@expedia.com>2011-04-12 10:57:21 -0700
committerjeffmad <jmadynski@expedia.com>2011-04-12 10:57:21 -0700
commitbf0147310a1fadcafd6c0076259142859d6d0a50 (patch)
tree9a799fc46fe7969e504d17ce60aa24cad7c97dc5
parent1416064724824d813eec860ab32c677a3e872bdf (diff)
downloadaskbot-bf0147310a1fadcafd6c0076259142859d6d0a50.tar.gz
askbot-bf0147310a1fadcafd6c0076259142859d6d0a50.tar.bz2
askbot-bf0147310a1fadcafd6c0076259142859d6d0a50.zip
handle ldap auth failure
-rw-r--r--askbot/deps/django_authopenid/views.py2
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(