Skip to content

Commit a60a256

Browse files
authored
Updated error in access token variable name
1 parent 1c48491 commit a60a256

File tree

1 file changed

+1
-1
lines changed
  • {{cookiecutter.project_slug}}/backend/app/app/core

1 file changed

+1
-1
lines changed

{{cookiecutter.project_slug}}/backend/app/app/core/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Settings(BaseSettings):
88
API_V1_STR: str = "/api/v1"
99
SECRET_KEY: str = secrets.token_urlsafe(32)
1010
# 60 minutes * 24 hours * 8 days = 8 days
11-
ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 * 24 * 8
11+
ACCESS_TOKEN_EXPIRE_SECONDS: int = 60 * 24 * 8
1212
REFRESH_TOKEN_EXPIRE_SECONDS: int = 60 * 60 * 24 * 30
1313
SERVER_NAME: str
1414
SERVER_HOST: AnyHttpUrl

0 commit comments

Comments
 (0)