05/15 Change: session lifetime

This commit is contained in:
2026-05-15 09:33:25 -04:00
parent f591384b12
commit 9bded4ed1f
+1 -1
View File
@@ -46,7 +46,7 @@ class Config:
# ------------------------------------------------------------------ # # ------------------------------------------------------------------ #
# Session / cookies # Session / cookies
# ------------------------------------------------------------------ # # ------------------------------------------------------------------ #
PERMANENT_SESSION_LIFETIME = timedelta(hours=10) # Reduced from 30 days — payroll data sensitivity PERMANENT_SESSION_LIFETIME = timedelta(days=30) # Reduced from 30 days — payroll data sensitivity
SESSION_COOKIE_SECURE = ( SESSION_COOKIE_SECURE = (
os.environ.get('SESSION_COOKIE_SECURE', 'false').lower() == 'true' os.environ.get('SESSION_COOKIE_SECURE', 'false').lower() == 'true'
) )