From d25b2d42cce8b3721d423302b6770da7e03cc6f0 Mon Sep 17 00:00:00 2001 From: Dennis Frieberg Date: Wed, 9 Oct 2024 10:50:24 +0200 Subject: [PATCH] no user sessions --- src/Foundation.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Foundation.hs b/src/Foundation.hs index ff6cf9e..4698426 100644 --- a/src/Foundation.hs +++ b/src/Foundation.hs @@ -84,9 +84,7 @@ instance Yesod App where -- Store session data on the client in encrypted cookies, -- default session idle timeout is 120 minutes makeSessionBackend :: App -> IO (Maybe SessionBackend) - makeSessionBackend _ = Just <$> defaultClientSessionBackend - 120 -- timeout in minutes - "config/client_session_key.aes" + makeSessionBackend _ = return Nothing -- Yesod Middleware allows you to run code before and after each handler function. -- The defaultYesodMiddleware adds the response header "Vary: Accept, Accept-Language" and performs authorization checks.