Update security.py

This commit is contained in:
michplunkett
2025-03-14 22:49:26 -05:00
parent 05e3755d65
commit ba7ed5727c

View File

@@ -59,7 +59,7 @@ async def get_token_or_user_auth(
async def get_user_auth(
credentials: HTTPAuthorizationCredentials = Depends(bearer_security),
):
# validates the Bearer token in the case that it requires it
# Validates the Bearer token in the case that it requires it
valid_user, info = authenticate_user(credentials.credentials)
if valid_user:
return info.lower()