From c83dd30f4115d98aeb42854eacdc098125bf000f Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 19 Nov 2022 08:16:53 +0100 Subject: [PATCH] Increase admin session validity to 3 days --- app/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin.py b/app/admin.py index 39cc863..6b69ea2 100644 --- a/app/admin.py +++ b/app/admin.py @@ -64,7 +64,7 @@ async def user_session_or_redirect( raise _RedirectToLoginPage try: - loaded_session = session_serializer.loads(session, max_age=3600 * 12) + loaded_session = session_serializer.loads(session, max_age=3600 * 24 * 3) except Exception: raise _RedirectToLoginPage