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