Commit ddf4704c authored by Auke L. Klazema's avatar Auke L. 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: {{ }}</p>
<form action="{% url 'oidc_logout' %}" method="post">
<form action="{% url 'oidc_logout' %}" method="post">{% csrf_token %}
<input type="submit" value="logout">
{% 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