mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 14:33:00 +00:00
fix inappropriate clearing of API tokens
This commit is contained in:
@@ -314,10 +314,10 @@ class User(Base):
|
||||
config=config,
|
||||
user=self,
|
||||
hub=hub,
|
||||
api_token=api_token.token,
|
||||
)
|
||||
# we are starting a new server, make sure it doesn't restore state
|
||||
spawner.clear_state()
|
||||
spawner.api_token = api_token.token
|
||||
|
||||
yield spawner.start()
|
||||
spawner.start_polling()
|
||||
|
Reference in New Issue
Block a user