Skip to content

Commit 9de8867

Browse files
committed
♻️ Require explicit SECRET_KEY
1 parent 74cf9ed commit 9de8867

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

backend/app/core/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import secrets
21
import warnings
32
from typing import Annotated, Any, Literal, Self
43

@@ -30,7 +29,7 @@ class Settings(BaseSettings):
3029
extra="ignore",
3130
)
3231
API_V1_STR: str = "/api/v1"
33-
SECRET_KEY: str = secrets.token_urlsafe(32)
32+
SECRET_KEY: str
3433
# 60 minutes * 24 hours * 8 days = 8 days
3534
ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 * 24 * 8
3635
FRONTEND_HOST: str = "http://localhost:5173"

0 commit comments

Comments
 (0)