mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 13:03:01 +00:00
Add post-spawn hook
This commit is contained in:
@@ -559,6 +559,8 @@ class User:
|
||||
finally:
|
||||
spawner.orm_spawner.started = None
|
||||
self.db.commit()
|
||||
# trigger post-spawner hook
|
||||
await maybe_future(spawner.run_post_spawn_hook())
|
||||
# trigger post-spawner hook on authenticator
|
||||
auth = spawner.authenticator
|
||||
try:
|
||||
|
Reference in New Issue
Block a user