Skip to content

Commit e3c41a0

Browse files
committed
[fix] Fix authentication again
1 parent 19aa927 commit e3c41a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/api/auth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def validate_token(
8989
user = payload.get("sub")
9090
if user is None:
9191
raise credentials_exception
92-
if not user == get_env_variable("ADMIN_USER")
92+
if not user == get_env_variable("ADMIN_USER"):
9393
raise credentials_exception
9494
return True
9595
except JWTError:

0 commit comments

Comments
 (0)