CQ fixes
Build and Push Docker Image / build-and-push (pull_request) Successful in 1m0s
Python Code Quality / python-code-quality (pull_request) Successful in 10s
Python Test / python-test (pull_request) Successful in 18s

This commit is contained in:
Brian Bjarke Jensen
2025-11-12 15:34:10 +01:00
parent d46fd51aa0
commit a302dc51c6
2 changed files with 2 additions and 2 deletions
@@ -25,7 +25,7 @@ class InMemoryTokenRepository(TokenRepositoryInterface):
def verify(self, token: str) -> int | None:
"""Verify token and return user_id if valid, None otherwise.
Implements sliding expiration: extends token lifetime on each verification.
"""
if token not in self._tokens:
@@ -30,7 +30,7 @@ class RedisTokenRepository(TokenRepositoryInterface):
def verify(self, token: str) -> int | None:
"""Verify token and return user_id if valid, None otherwise.
Implements sliding expiration: extends token lifetime on verification.
"""
key = f"token:{token}"