rewrite
This commit is contained in:
2
app.py
2
app.py
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user