summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorwookey <devnull@localhost>2013-07-02 17:26:35 +0100
committerwookey <devnull@localhost>2013-07-02 17:26:35 +0100
commitf3a570a21daa84e2e0abc079ef84f813aa15969a (patch)
tree20a466a80cf121a74d10fc24d363e71120bab861 /templates
parent9435be0f19eabd4fe4b33d1263c39efe3fbb4d38 (diff)
downloadtroggle-f3a570a21daa84e2e0abc079ef84f813aa15969a.tar.gz
troggle-f3a570a21daa84e2e0abc079ef84f813aa15969a.tar.bz2
troggle-f3a570a21daa84e2e0abc079ef84f813aa15969a.zip
Add csrf token to registration forms
Diffstat (limited to 'templates')
-rw-r--r--templates/registration/registration_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html
index 5720a8b..6c82abe 100644
--- a/templates/registration/registration_form.html
+++ b/templates/registration/registration_form.html
@@ -9,7 +9,7 @@ registration_form.html | {{ block.super }}
{% endblock %}
{% block content %}
-<form action="{% url registration_register %}" method="POST">
+<form action="{% url registration_register %}" method="POST">{% csrf_token %}
{% for error in form.non_field_errors %}
<span style="color:red">{{ error }}</span>
{% endfor %}