nextstrain / nextstrain.org

The Nextstrain website
https://nextstrain.org
GNU Affero General Public License v3.0
88 stars 49 forks source link

Fix /whoami #839

Closed victorlin closed 5 months ago

victorlin commented 5 months ago

Description of proposed changes

780 broke /whoami for users that are members of old test Cognito groups. This is due to unhandled errors in the case that a Cognito group does not map to a valid group in groups.json. This PR addresses the issue.

Related issue(s)

Checklist