From bf0147310a1fadcafd6c0076259142859d6d0a50 Mon Sep 17 00:00:00 2001 From: jeffmad Date: Tue, 12 Apr 2011 10:57:21 -0700 Subject: handle ldap auth failure --- askbot/deps/django_authopenid/views.py | 2 ++ 1 file changed, 2 insertions(+) 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( -- cgit v1.2.3-1-g7c22