mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] Delete cookies on logout.
This commit is contained in:
parent
2eb38d3eaa
commit
6bd8eb1a90
1 changed files with 1 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue