mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Pass in base_url rather than app object
- Limits what we consider public API - Still allows for redirects outside JupyterHub
This commit is contained in:
@@ -1490,7 +1490,7 @@ class UserRedirectHandler(BaseHandler):
|
||||
if self.app.user_redirect_hook:
|
||||
url = await maybe_future(
|
||||
self.app.user_redirect_hook(
|
||||
path, self.request, self.current_user, self.app
|
||||
path, self.request, self.current_user, self.base_url
|
||||
)
|
||||
)
|
||||
if url is None:
|
||||
|
Reference in New Issue
Block a user