mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-14 05:23:01 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -569,7 +569,9 @@ class BaseHandler(RequestHandler):
|
|||||||
so other services on this domain can read it.
|
so other services on this domain can read it.
|
||||||
"""
|
"""
|
||||||
session_id = uuid.uuid4().hex
|
session_id = uuid.uuid4().hex
|
||||||
self._set_cookie(SESSION_COOKIE_NAME, session_id, encrypted=False, path=self.base_url)
|
self._set_cookie(
|
||||||
|
SESSION_COOKIE_NAME, session_id, encrypted=False, path=self.base_url
|
||||||
|
)
|
||||||
return session_id
|
return session_id
|
||||||
|
|
||||||
def set_service_cookie(self, user):
|
def set_service_cookie(self, user):
|
||||||
|
Reference in New Issue
Block a user