diff --git a/app.py b/app.py index 875a51d..d25fcf5 100644 --- a/app.py +++ b/app.py @@ -138,6 +138,8 @@ def initialize_extensions(app: Flask) -> None: # Session app.config['SESSION_TYPE'] = 'sqlalchemy' app.config['SESSION_SQLALCHEMY'] = db + app.config['SESSION_SQLALCHEMY_TABLE'] = 'sessions' + app.config['SESSION_CLEANUP_N_REQUESTS'] = None Session(app) # Ensure secret key is set