Commit f4192b26 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Remove some cookies on logout.

parent dc13d9d4
......@@ -211,6 +211,12 @@ class RootController(AbstractController):"logout")"GET")
def logout(self, path="/"):
# remove some cookies
cookies = ["ROUTEID"]
for c in cookies:
if c in cherrypy.response.cookie:
cherrypy.response.cookie[c]["expires"] = 0
vispa.fire_callback("user.logout", cherrypy.request.user)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment