mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
Remove user after login cookie cleared
Signed-off-by: Aaron Huang <aaroms9733@gmail.com>
This commit is contained in:
@@ -484,6 +484,8 @@ class BaseHandler(RequestHandler):
|
|||||||
path=url_path_join(self.base_url, 'services'),
|
path=url_path_join(self.base_url, 'services'),
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
|
# Reset _jupyterhub_user
|
||||||
|
self._jupyterhub_user = None
|
||||||
|
|
||||||
def _set_cookie(self, key, value, encrypted=True, **overrides):
|
def _set_cookie(self, key, value, encrypted=True, **overrides):
|
||||||
"""Setting any cookie should go through here
|
"""Setting any cookie should go through here
|
||||||
|
Reference in New Issue
Block a user