From 0877eb2a1ad417eb0df803374f040701679d0abc Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Mon, 5 Jan 2015 16:10:57 -0800 Subject: [PATCH] fix missing error message for bad logins --- planetstack/templates/admin/login.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/planetstack/templates/admin/login.html b/planetstack/templates/admin/login.html index a165707..293834c 100644 --- a/planetstack/templates/admin/login.html +++ b/planetstack/templates/admin/login.html @@ -25,7 +25,12 @@ {% endif %} {% if form.non_field_errors or form.this_is_the_login_form.errors %} -{% for error in form.non_field_errors|add:form.this_is_the_login_form.errors %} +{% for error in form.non_field_errors %} +

+ {{ error }} +

+{% endfor %} +{% for error in form.this_is_the_login_form.errors %}

{{ error }}

-- 2.43.0