mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
refresh_user: add handler parameter
The current request handler might be needed to determine if the auth data needs to be refreshed. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
This commit is contained in:
@@ -262,7 +262,7 @@ class BaseHandler(RequestHandler):
|
||||
self._refreshed_users.add(user.name)
|
||||
|
||||
self.log.debug("Refreshing auth for %s", user.name)
|
||||
auth_info = await self.authenticator.refresh_user(user)
|
||||
auth_info = await self.authenticator.refresh_user(user, self)
|
||||
|
||||
if not auth_info:
|
||||
self.log.warning(
|
||||
|
Reference in New Issue
Block a user