Commit ddf4704c authored by Auke Klazema's avatar Auke Klazema

TMSS-143: Add csrf token to logout request

parent cd35c5f8
......@@ -10,7 +10,7 @@
{% block userlinks %}
{% if request.user.is_authenticated %}
<p>Current user: {{ request.user.email }}</p>
<form action="{% url 'oidc_logout' %}" method="post">
<form action="{% url 'oidc_logout' %}" method="post">{% csrf_token %}
<input type="submit" value="logout">
</form>
{% else %}
......
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