mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 12:27:35 +00:00
Add csrf token to registration forms
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user