From 9c13472703683fdca682c8bb3096c810320d8a29 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 27 Aug 2021 23:10:58 +0200 Subject: [PATCH] Actually delete cookie when logging out --- moulinette/interfaces/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moulinette/interfaces/api.py b/moulinette/interfaces/api.py index baf8d2f6..6d2a7c11 100644 --- a/moulinette/interfaces/api.py +++ b/moulinette/interfaces/api.py @@ -264,6 +264,7 @@ class Session: def delete_infos(): response.set_cookie(f"session.{Session.actionsmap_name}", "", max_age=-1) + response.delete_cookie(f"session.{Session.actionsmap_name}") class _ActionsMapPlugin(object):