]> git.ipfire.org Git - pbs.git/commitdiff
API: Remove a debug line
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Jun 2025 13:44:55 +0000 (13:44 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Jun 2025 13:44:55 +0000 (13:44 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/api/auth.py

index 535abe7e42f9319c849b3efa46501e477419ac25..1170a5d64d87ca91648853ca5863fa7fecce0d0a 100644 (file)
@@ -137,7 +137,6 @@ def get_principal(token):
 
        # Fail if we could not decode the token
        except jwt.InvalidTokenError as e:
-               print(e)
                raise fastapi.HTTPException(status_code=401, detail="Invalid refresh token")
 
        # Extract the principal