Compare commits

..

2 Commits

Author SHA1 Message Date
6969252a9c
docs: add readme 2022-09-03 15:03:47 +10:00
4e4f663e1b
home: configure brand name 2022-09-03 15:03:29 +10:00

View File

@ -29,7 +29,7 @@ def register(auth: OIDCAuthentication, auth_provider: str) -> Blueprint:
Renders the home route. Renders the home route.
""" """
user_session = UserSession(flask.session) user_session = UserSession(flask.session)
groups: List[str] = user_session.userinfo.get("groups") or [] groups: List[str] = user_session.userinfo["groups"]
config: Config = current_config() config: Config = current_config()
name = config.core.name name = config.core.name