From 6bd8eb1a90f34c76d0801718bd5df2424a9679a0 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 28 Feb 2017 15:36:45 +0100 Subject: [PATCH] [fix] Delete cookies on logout. --- helpers.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers.lua b/helpers.lua index d9bbd8a..0213a30 100644 --- a/helpers.lua +++ b/helpers.lua @@ -822,6 +822,7 @@ function logout() -- Delete user cookie if logged in (that should always be the case) if is_logged_in() then + delete_cookie() cache:delete("session_"..authUser) cache:delete(authUser.."-"..conf["ldap_identifier"]) -- Ugly trick to reload cache flash("info", t("logged_out"))