feat(auth): add persistent login session for tablets and PWA (double-channel cookie + bearer token, 30 days remember-me, credential autofill)
This commit is contained in:
@@ -46,8 +46,8 @@ class Settings(BaseSettings):
|
||||
|
||||
# Seguridad JWT
|
||||
SECRET_KEY: str = "dev_secret_key_change_in_production_min_32_chars_1234567890"
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
|
||||
REFRESH_TOKEN_EXPIRE_DAYS: int = 7
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES: int = 43200 # 30 días para puestos de control / tablets persistentes
|
||||
REFRESH_TOKEN_EXPIRE_DAYS: int = 30
|
||||
|
||||
# Estación por Defecto
|
||||
DEFAULT_WORKSTATION_NAME: str = "GARITA_PRINCIPAL"
|
||||
|
||||
Reference in New Issue
Block a user