From dec1c2156a2927e9ef4ba02332d6610e6f4b61db Mon Sep 17 00:00:00 2001 From: amandine-sahl Date: Wed, 6 Nov 2024 13:45:42 +0100 Subject: [PATCH] Fix context processor --- atlas/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atlas/app.py b/atlas/app.py index 4f7b3d63d..cf906dfc2 100644 --- a/atlas/app.py +++ b/atlas/app.py @@ -73,8 +73,7 @@ def get_locale(): @app.context_processor def inject_config(): - configuration = copy.copy(app.config) - configuration.pop("PERMANENT_SESSION_LIFETIME", None) + configuration = copy.copy(config_valid) return dict(configuration=configuration) @app.template_filter("pretty")