[fix] Delete cookies on logout.

This commit is contained in:
opi 2017-02-28 15:36:45 +01:00
parent 2eb38d3eaa
commit 6bd8eb1a90

View file

@ -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"))