mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 13:03:01 +00:00
pass server_name to the spawner
This commit is contained in:
@@ -228,6 +228,8 @@ class User(HasTraits):
|
||||
db.commit()
|
||||
|
||||
spawner = self.spawner
|
||||
# Passing server_name to the spawner
|
||||
spawner.server_name = server_name
|
||||
spawner.user_options = options or {}
|
||||
# we are starting a new server, make sure it doesn't restore state
|
||||
spawner.clear_state()
|
||||
|
Reference in New Issue
Block a user