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
commit0dfbd1c84f13ee18451f739987f918cb5ac620ab (patch)
treef7eb592c37835baf0c538a0b71436f9b6d4a78e9 /templates
parent97c7a2fd87b99fe5706517373d378c4190fbe6a4 (diff)
downloadtroggle-0dfbd1c84f13ee18451f739987f918cb5ac620ab.tar.gz
troggle-0dfbd1c84f13ee18451f739987f918cb5ac620ab.tar.bz2
troggle-0dfbd1c84f13ee18451f739987f918cb5ac620ab.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 %}