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,
|
-- Store session data on the client in encrypted cookies,
|
||||||
-- default session idle timeout is 120 minutes
|
-- default session idle timeout is 120 minutes
|
||||||
makeSessionBackend :: App -> IO (Maybe SessionBackend)
|
makeSessionBackend :: App -> IO (Maybe SessionBackend)
|
||||||
makeSessionBackend _ = Just <$> defaultClientSessionBackend
|
makeSessionBackend _ = return Nothing
|
||||||
120 -- timeout in minutes
|
|
||||||
"config/client_session_key.aes"
|
|
||||||
|
|
||||||
-- Yesod Middleware allows you to run code before and after each handler function.
|
-- 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.
|
-- The defaultYesodMiddleware adds the response header "Vary: Accept, Accept-Language" and performs authorization checks.
|
||||||
|
|
Loading…
Reference in a new issue