don't use csrf_exempt everywhere
This commit is contained in:
parent
f031b46b20
commit
7882bfe1ef
6 changed files with 8 additions and 12 deletions
|
@ -27,6 +27,7 @@
|
|||
<div id="account">
|
||||
{% if user.is_authenticated %}
|
||||
<form name="logout" action="/logout/" method="post">
|
||||
{% csrf_token %}
|
||||
Welcome, <a href="/user/{{ request.user.localname }}">{{ request.user.localname }}</a>
|
||||
<input type="submit" value="Log out"></input>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue