1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-01-03 13:34:33 +00:00

IMP: redirect to login page following logout

This commit is contained in:
barbequesauce 2018-10-19 12:38:27 -04:00 committed by evilhero
parent bd9085d7fa
commit 7b49b66bd8

View file

@ -158,6 +158,7 @@ class AuthController(object):
sess = cherrypy.session
username = sess.get(SESSION_KEY, None)
sess[SESSION_KEY] = None
return self.get_loginform("", from_page=from_page)
if username:
cherrypy.request.login = None
self.on_logout(username)