Make usable via config without subclassing

This commit is contained in:
Rollin Thomas
2019-05-14 08:56:52 -07:00
parent f37864cfd3
commit e815210cc7
2 changed files with 26 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ class HomeHandler(BaseHandler):
url = url_path_join(self.hub.base_url, 'spawn', user.escaped_name)
auth_state = await user.get_auth_state()
user.spawner.handle_auth_state(auth_state)
user.spawner.run_auth_state_hook(auth_state)
html = self.render_template(
'home.html',