Add csrf_token, required by newer Django versions
authorMagnus Hagander <magnus@hagander.net>
Sun, 13 Feb 2011 12:13:20 +0000 (13:13 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 13 Feb 2011 12:13:20 +0000 (13:13 +0100)
hamnadmin/register/templates/registration/login.html

index e0f55e46a467607cd37cfe09f4925fbcc12a34bc..c18f1ff83cdb461e5b791e2eef0067464c99d04b 100644 (file)
@@ -11,7 +11,7 @@ You need to log in to access your settings. This is done using a
 PostgreSQL community account. If you do not have one, go to the main
 website and <a href="http://www.postgresql.org/community/signup">sign up</a>.
   </p>
-  <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>