diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-04-07 11:34:10 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-04-17 15:47:16 +0200 |
commit | 54a9b7389355119cc142ed61bdf3641c99630a60 (patch) | |
tree | 2c02aed41ba38e54ec4a242f5a25829c569e64e5 | |
parent | 5b04cd656e01969646f3398ee89a1b3bb550cb54 (diff) | |
download | Ishtar-54a9b7389355119cc142ed61bdf3641c99630a60.tar.bz2 Ishtar-54a9b7389355119cc142ed61bdf3641c99630a60.zip |
Default timeout for session is set to 5 days
-rw-r--r-- | CHANGES.md | 3 | ||||
-rw-r--r-- | example_project/settings.py | 3 |
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 = "" |