mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13: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:
|
||||
# treat invalid token the same as no token
|
||||
return None
|
||||
user = auth_data['user']
|
||||
user = auth_data['name']
|
||||
if user == my_user:
|
||||
self._cached_user = user
|
||||
return user
|
||||
|
Reference in New Issue
Block a user