no user sessions

This commit is contained in:
Dennis Frieberg 2024-10-09 10:50:24 +02:00
parent d706cc72fc
commit d25b2d42cc
No known key found for this signature in database
GPG key ID: 7C58AFED036072C5

View file

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