Skip to content

Commit

Permalink
Restrict Overleaf auth client to ecl users (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
armanddidierjean authored Nov 25, 2024
1 parent 08dcf2b commit 495233c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/utils/auth/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ class SiarnaqAuthClient(BaseAuthClient):


class OverleafAuthClient(BaseAuthClient):
allowed_groups: list[GroupType] | None = get_ecl_groups()

@classmethod
def get_userinfo(cls, user: models_core.CoreUser):
return {
Expand Down

0 comments on commit 495233c

Please sign in to comment.