Skip to content

Commit

Permalink
fix auth for inst groups not in our infos
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Mar 20, 2024
1 parent fbd96c3 commit 0e8ec33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web_app/data_source/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def get_institutions() -> list[str]:
infos = get_institutions_infos()
editable_insts = []
for short_name in group_insts:
if short_name not in infos:
continue
if not infos[short_name].has_mou:
logging.error(
f"User ({CurrentUser.get_username()}) belongs to {short_name},"
Expand Down

0 comments on commit 0e8ec33

Please sign in to comment.