Use 'permanent' session with a timeout

This commit is contained in:
2025-03-19 11:56:02 +01:00
parent fcf50ac7ab
commit 82668938af
2 changed files with 5 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ dictConfig({
app = Flask(__name__)
app.config.from_prefixed_env()
app.config['SESSION_PERMANENT'] = False
app.config['SESSION_PERMANENT'] = True
app.config['SESSION_TYPE'] = 'filesystem'
Session(app)