Skip to content

Commit

Permalink
Fixing security module linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bergsalex committed Sep 27, 2024
1 parent fc0135b commit 4ca5a06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/geneweaver/api/core/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ async def get_user(
Auth0HTTPBearer(auto_error=False)
),
) -> Optional[UserInternal]:
"""Get the user from the token, don't error if not found."""
return await self._get_user(security_scopes, creds, True, disallow_public=False)

async def _get_user( # noqa: C901
Expand Down

0 comments on commit 4ca5a06

Please sign in to comment.