This commit is contained in:
Mateusz Gruszczyński
2025-11-04 10:31:32 +01:00
parent 577dc789fc
commit 5a687549a9

2
app.py
View File

@@ -51,7 +51,7 @@ app = Flask(
# ===== LOAD CONFIGURATION =====
app.config.from_object('config.settings')
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=7)
app.config['SESSION_COOKIE_SECURE'] = True
app.config['SESSION_COOKIE_SECURE'] = False
app.config['SESSION_COOKIE_HTTPONLY'] = True
app.config['SESSION_COOKIE_SAMESITE'] = 'Lax'