mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 14:33:00 +00:00
add / to user-redirect
Some proxies may not correctly route /user/name, only /user/name/...
This commit is contained in:
@@ -631,6 +631,8 @@ class UserSpawnHandler(BaseHandler):
|
||||
|
||||
@gen.coroutine
|
||||
def get(self, name, user_path):
|
||||
if not user_path:
|
||||
user_path = '/'
|
||||
current_user = self.get_current_user()
|
||||
|
||||
if current_user and current_user.name == name:
|
||||
|
Reference in New Issue
Block a user