diff --git a/app.py b/app.py index 1de50b0..17951d8 100644 --- a/app.py +++ b/app.py @@ -35,7 +35,7 @@ app.config['TEMPLATES_AUTO_RELOAD'] = os.environ.get('TEMPLATES_AUTO_RELOAD') # Session configuration for "Remember Me" functionality app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=30) -app.config['SESSION_COOKIE_SECURE'] = False # Set to True if using HTTPS +app.config['SESSION_COOKIE_SECURE'] = True # Set to True if using HTTPS app.config['SESSION_COOKIE_HTTPONLY'] = True app.config['SESSION_COOKIE_SAMESITE'] = 'Lax'