Browse files

Add csrf_token, required by newer Django versions

  • Loading branch information...
1 parent 88fc7fb commit 7b6c304872fba97663de88316e457b0a61886fc2 @mhagander committed Feb 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 hamnadmin/register/templates/registration/login.html
2 hamnadmin/register/templates/registration/login.html
@@ -11,7 +11,7 @@
PostgreSQL community account. If you do not have one, go to the main
website and <a href="">sign up</a>.
- <form action='.' method='post'>
+ <form action='.' method='post'>{% csrf_token %}
<label for="username">User name:</label>
<input type="text" name="username" value="" id="username">
<label for="password">Password:</label>

0 comments on commit 7b6c304

Please sign in to comment.