mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
DEV: Allow Authenticator.add_user to not be a future.
This commit is contained in:
@@ -548,7 +548,7 @@ class JupyterHub(Application):
|
||||
db.commit()
|
||||
|
||||
for user in new_users:
|
||||
yield self.authenticator.add_user(user)
|
||||
yield gen.maybe_future(self.authenticator.add_user(user))
|
||||
db.commit()
|
||||
|
||||
user_summaries = ['']
|
||||
|
Reference in New Issue
Block a user