git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b9a28b
)
fix missing error message for bad logins
author
Scott Baker
<smbaker@gmail.com>
Tue, 6 Jan 2015 00:10:57 +0000
(16:10 -0800)
committer
Scott Baker
<smbaker@gmail.com>
Tue, 6 Jan 2015 00:10:57 +0000
(16:10 -0800)
planetstack/templates/admin/login.html
patch
|
blob
|
history
diff --git
a/planetstack/templates/admin/login.html
b/planetstack/templates/admin/login.html
index
a165707
..
293834c
100644
(file)
--- 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 %}
+<p class="errornote">
+ {{ error }}
+</p>
+{% endfor %}
+{% for error in form.this_is_the_login_form.errors %}
<p class="errornote">
{{ error }}
</p>