diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 7962fc997..510d9e04a 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -184,6 +184,7 @@ DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS = True SESSION_ENGINE = "django.contrib.sessions.backends.cache" SESSION_CACHE_ALIAS = "default" SESSION_COOKIE_SAMESITE = "lax" +SESSION_EXPIRE_AT_BROWSER_CLOSE = True MESSAGE_STORAGE = "authentik.root.messages.storage.ChannelsStorage"