aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-08-27 23:56:47 +0100
committerGravatar Chris Lovering <[email protected]>2024-08-27 23:56:47 +0100
commit2acd185a5e5b7b4910398d5de6ac215cb2b95661 (patch)
tree59460444443d148fb3b012f094fa2e7a166298c5
parentUpdate password meta data on password reset (diff)
Remove debug log
-rw-r--r--thallium-backend/src/auth.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/thallium-backend/src/auth.py b/thallium-backend/src/auth.py
index 98dc540..1870b72 100644
--- a/thallium-backend/src/auth.py
+++ b/thallium-backend/src/auth.py
@@ -72,7 +72,6 @@ class TokenAuth(HTTPBearer):
if res.require_password_change:
raise HTTPException(status_code=403, detail="You must reset your password.")
- log.info(jwt_data["iat"])
if datetime.fromtimestamp(jwt_data["iat"], tz=UTC) < res.password_set_at:
raise HTTPException(status_code=403, detail="Token invalid, password changed.")
return res