Missing csrf token on login form
This commit is contained in:
parent
19109b98fa
commit
0ce9677029
|
@ -33,6 +33,7 @@
|
||||||
</form>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
<form name="login" action="/login/" method="post">
|
<form name="login" action="/login/" method="post">
|
||||||
|
{% csrf_token %}
|
||||||
{% for field in login_form %}
|
{% for field in login_form %}
|
||||||
{{ field }}
|
{{ field }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue