From 6fe5f1681f47a64070020502a9e862926c799f29 Mon Sep 17 00:00:00 2001 From: Benbb96 Date: Tue, 7 May 2024 14:54:05 +0200 Subject: [PATCH] fix logout in Django 5 with POST action instead of GET --- helpdesk/templates/helpdesk/navigation-header.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/helpdesk/templates/helpdesk/navigation-header.html b/helpdesk/templates/helpdesk/navigation-header.html index d63dabe0..5ec166d6 100644 --- a/helpdesk/templates/helpdesk/navigation-header.html +++ b/helpdesk/templates/helpdesk/navigation-header.html @@ -58,7 +58,9 @@ {% trans "System Settings" %} {% endif %} - {% trans "Logout" %} +
{% csrf_token %} + +
{% else %} @@ -82,8 +84,10 @@