Commit 14fcf74d authored by Mario Chirinos's avatar Mario Chirinos

logout

parent bf4d5a84
......@@ -38,7 +38,7 @@
</div>
<div class="pull-right">
<a href="{% url 'logout'%}?next={{request.path}}" class="btn btn-default btn-flat">Sign out</a>
<form action="{% url 'logout' %}" method="post">
<form action="{% url 'logout' %}" method="post" class="btn btn-default btn-flat">
{% csrf_token %}
<button type="submit">Log out</button>
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment