mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 06:22:59 +00:00
Added todo
This commit is contained in:
@@ -1943,6 +1943,7 @@ class JupyterHub(Application):
|
||||
db.commit()
|
||||
self.log.info("Adding API token for %s: %s", kind, name)
|
||||
# If we have roles in the configuration file, they will be added later
|
||||
# Todo: works but ugly
|
||||
config_roles = None
|
||||
for config_role in self.load_roles:
|
||||
if 'tokens' in config_role and token in config_role['tokens']:
|
||||
|
Reference in New Issue
Block a user