add csrf_token to login form
This commit is contained in:
parent
d6df3b8567
commit
5612a120f6
|
@ -1,5 +1,6 @@
|
||||||
<div id="loginWrapper">
|
<div id="loginWrapper">
|
||||||
<form action="" method="POST">
|
<form action="" method="POST">
|
||||||
|
{% csrf_token %}
|
||||||
{{ form.as_ul }}<br />
|
{{ form.as_ul }}<br />
|
||||||
<input type="submit" value="Submit" />
|
<input type="submit" value="Submit" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user