no user sessions
This commit is contained in:
parent
d706cc72fc
commit
d25b2d42cc
1 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue