From fdbb367a3d3e6d192c08c465f79c9f056331de18 Mon Sep 17 00:00:00 2001 From: hda Date: Fri, 22 Aug 2025 10:31:19 +0200 Subject: [PATCH] [IMP] Session max age to 1 day --- odoo/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/http.py b/odoo/http.py index daee6822acc18..26fbe4310d9aa 100644 --- a/odoo/http.py +++ b/odoo/http.py @@ -290,7 +290,7 @@ def get_default_session(): # The default duration of a user session cookie. Inactive sessions are reaped # server-side as well with a threshold that can be set via an optional # config parameter `sessions.max_inactivity_seconds` (default: SESSION_LIFETIME) -SESSION_LIFETIME = 60 * 60 * 24 * 7 +SESSION_LIFETIME = 60 * 60 * 24 * 1 # The cache duration for static content from the filesystem, one week. STATIC_CACHE = 60 * 60 * 24 * 7