feat: address QA analytics and report upload feedback
All checks were successful
CI/CD Pipeline / Run Tests (push) Successful in 2m26s
CI/CD Pipeline / Code Quality Checks (push) Successful in 5m3s
CI/CD Pipeline / Build and Push Dev Images (push) Successful in 32s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 31s

This commit is contained in:
2026-07-19 13:32:56 +02:00
parent b025f12856
commit 9eb41f6fd4
28 changed files with 938 additions and 82 deletions

View File

@@ -268,8 +268,10 @@ REST_FRAMEWORK = {
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(minutes=60),
"REFRESH_TOKEN_LIFETIME": timedelta(days=7),
"ROTATE_REFRESH_TOKENS": True,
"BLACKLIST_AFTER_ROTATION": True,
# The frontend can issue concurrent refresh requests. Reusing one refresh token
# avoids a race where the first response blacklists the token used by the second.
"ROTATE_REFRESH_TOKENS": False,
"BLACKLIST_AFTER_ROTATION": False,
"UPDATE_LAST_LOGIN": True,
"ALGORITHM": "HS256",
"VERIFYING_KEY": None,