Fix SSOwat crash after password change

This commit is contained in:
Josué Tille 2019-01-07 10:12:08 +01:00
parent aa972625fa
commit 32d04dbac9
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

@ -938,6 +938,7 @@ function logout()
delete_cookie() delete_cookie()
cache:delete("session_"..authUser) cache:delete("session_"..authUser)
cache:delete(authUser.."-"..conf["ldap_identifier"]) -- Ugly trick to reload cache cache:delete(authUser.."-"..conf["ldap_identifier"]) -- Ugly trick to reload cache
cache:delete(authUser.."-password")
flash("info", t("logged_out")) flash("info", t("logged_out"))
end end