mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #143 from quantopian/non-async-add-user
DEV: Allow Authenticator.add_user to not be a future.
This commit is contained in:
@@ -549,7 +549,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