Increase admin session validity to 3 days

main
Thomas Sileo 2022-11-19 08:16:53 +01:00
parent 9d312bc229
commit c83dd30f41
1 changed files with 1 additions and 1 deletions

View File

@ -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