From 9de88676bed58998ec160841cbf26dd62c0fd44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 10 Aug 2026 22:46:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Require=20explicit=20SECRE?= =?UTF-8?q?T=5FKEY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/core/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/app/core/config.py b/backend/app/core/config.py index f3a344c0f6..273809e5e5 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -1,4 +1,3 @@ -import secrets import warnings from typing import Annotated, Any, Literal, Self @@ -30,7 +29,7 @@ class Settings(BaseSettings): extra="ignore", ) API_V1_STR: str = "/api/v1" - SECRET_KEY: str = secrets.token_urlsafe(32) + SECRET_KEY: str # 60 minutes * 24 hours * 8 days = 8 days ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 * 24 * 8 FRONTEND_HOST: str = "http://localhost:5173"