mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
return after redirect to spawner form
avoids double-call to redirect, which fails
This commit is contained in:
@@ -454,6 +454,7 @@ class UserSpawnHandler(BaseHandler):
|
||||
if status is not None:
|
||||
if current_user.spawner.options_form:
|
||||
self.redirect(url_path_join(self.hub.server.base_url, 'spawn'))
|
||||
return
|
||||
else:
|
||||
yield self.spawn_single_user(current_user)
|
||||
# set login cookie anew
|
||||
|
Reference in New Issue
Block a user