Missing csrf token on login form

This commit is contained in:
Mouse Reeve 2020-02-21 12:15:18 -08:00
parent 19109b98fa
commit 0ce9677029

View file

@ -33,6 +33,7 @@
</form>
{% else %}
<form name="login" action="/login/" method="post">
{% csrf_token %}
{% for field in login_form %}
{{ field }}
{% endfor %}