mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
fix auth key in single-user check
This commit is contained in:
@@ -92,7 +92,7 @@ class JupyterHubLoginHandler(LoginHandler):
|
|||||||
if not auth_data:
|
if not auth_data:
|
||||||
# treat invalid token the same as no token
|
# treat invalid token the same as no token
|
||||||
return None
|
return None
|
||||||
user = auth_data['user']
|
user = auth_data['name']
|
||||||
if user == my_user:
|
if user == my_user:
|
||||||
self._cached_user = user
|
self._cached_user = user
|
||||||
return user
|
return user
|
||||||
|
Reference in New Issue
Block a user