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:
parent
bd9085d7fa
commit
7b49b66bd8
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue