From c8559cc1646df0bd3c5770a5b8d099dd70d598fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Thu, 25 Apr 2024 11:53:23 -0300 Subject: [PATCH] =?UTF-8?q?Logoff=20com=20prote=C3=A7=C3=A3o=20csrf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/templates/admin/base_site.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sigi/templates/admin/base_site.html b/sigi/templates/admin/base_site.html index 6902666..5a764d4 100644 --- a/sigi/templates/admin/base_site.html +++ b/sigi/templates/admin/base_site.html @@ -45,10 +45,13 @@ {% endif %} {% if not user.is_anonymous %} - - {% trans 'Log out' %} - - +
+ {% csrf_token %} + +
{% endif %} {% endblock %}