summaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-05 19:58:31 +0200
committerDan McGee <dan@archlinux.org>2010-06-05 19:58:31 +0200
commitbad2825fab9f45f468414ed551bad9d987923600 (patch)
tree8e91d017ddbe2f28416395cb43f70644d509bd9f /templates/registration
parent7646f8ea7ce19b404a0e57c85e5dd589b3a53371 (diff)
downloadarchweb-bad2825fab9f45f468414ed551bad9d987923600.tar.gz
archweb-bad2825fab9f45f468414ed551bad9d987923600.tar.xz
Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/registration')
-rw-r--r--templates/registration/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html
index 2f62656..867910b 100644
--- a/templates/registration/login.html
+++ b/templates/registration/login.html
@@ -10,7 +10,7 @@
<p class="login-error">Your username and password didn't match. Please try again.</p>
{% endif %}
- <form id="dev-login-form" method="post" action=".">
+ <form id="dev-login-form" method="post" action=".">{% csrf_token %}
<fieldset>
<legend>Enter login credentials</legend>
{{ form.as_p }}