Added todo

This commit is contained in:
0mar
2021-04-09 13:17:56 +02:00
parent 95759b25f2
commit e67647c4c2

View File

@@ -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']: