diff options
| author | 2024-08-27 23:56:47 +0100 | |
|---|---|---|
| committer | 2024-08-27 23:56:47 +0100 | |
| commit | 2acd185a5e5b7b4910398d5de6ac215cb2b95661 (patch) | |
| tree | 59460444443d148fb3b012f094fa2e7a166298c5 /thallium-backend/src/auth.py | |
| parent | Update password meta data on password reset (diff) | |
Remove debug log
Diffstat (limited to 'thallium-backend/src/auth.py')
| -rw-r--r-- | thallium-backend/src/auth.py | 1 |
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 |