summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.md3
-rw-r--r--example_project/settings.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 94cd88823..7ef557f99 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -13,6 +13,7 @@ Ishtar changelog
- Manage strong password policy (ISHTAR_STRONG_PASSWORD_POLICY) with "Each character type" validator
- Add default auth validator
- Update and fix translations (refs #5578, refs #5579, refs #5581)
+- Default timeout for session is set to 5 days
### Bug fixes ###
- Json fields: fix bad save of multi values
@@ -22,7 +23,7 @@ Ishtar changelog
- Importer export: fix pre_importer call
- Image detail: do not display Modify link when not relevant (refs #5438)
- Fix french label for geo types (refs #5577)
-- Fix permissions for treatments requests (refs #5441)
+- Fix permissions for treatments requests (refs #5441)
v4.0.43 - 2023-03-17
--------------------
diff --git a/example_project/settings.py b/example_project/settings.py
index 7e0b8a0da..25a60fb93 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -188,6 +188,9 @@ INSTALLED_APPS = [
USE_TRANSLATION_OVERLOAD = True
TRANSLATION_OVERLOAD_DEBUG = False
+SESSION_EXPIRE_AT_BROWSER_CLOSE = False
+SESSION_COOKIE_AGE = 5 * 24 * 60 * 60
+
MAIN_APP = ""
LOGFILE = ""