Compare commits
3 Commits
6969252a9c
...
c3831e9efe
Author | SHA1 | Date | |
---|---|---|---|
c3831e9efe | |||
860dbe6032 | |||
aa86f5de48 |
@ -29,7 +29,7 @@ def register(auth: OIDCAuthentication, auth_provider: str) -> Blueprint:
|
||||
Renders the home route.
|
||||
"""
|
||||
user_session = UserSession(flask.session)
|
||||
groups: List[str] = user_session.userinfo["groups"]
|
||||
groups: List[str] = user_session.userinfo.get("groups") or []
|
||||
|
||||
config: Config = current_config()
|
||||
name = config.core.name
|
||||
|
Loading…
Reference in New Issue
Block a user