Commit 0765c2c5 authored by delanoe's avatar delanoe

[FIX] HTML and Error message.

parent 0228bef5
...@@ -51,7 +51,7 @@ class AuthenticationForm(forms.Form): ...@@ -51,7 +51,7 @@ class AuthenticationForm(forms.Form):
password=password) password=password)
if self.user_cache is None: if self.user_cache is None:
raise forms.ValidationError( raise forms.ValidationError(
'Invalid data' 'Invalid username or password'
) )
else: else:
self.confirm_login_allowed(self.user_cache) self.confirm_login_allowed(self.user_cache)
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<fieldset class="grp-module grp-module-login"> <fieldset class="grp-module grp-module-login">
<h2> <h2>
<span class="grp-current-page">Login</span> <span class="grp-current-page">Login</span>
</h2a> </h2>
<div class="grp-module"> <div class="grp-module">
{% block main %} {% block main %}
<div id="login"> <div id="login">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment