diff --git a/yesod/scaffold/Foundation.hs.cg b/yesod/scaffold/Foundation.hs.cg index 222bf728..28fbd503 100644 --- a/yesod/scaffold/Foundation.hs.cg +++ b/yesod/scaffold/Foundation.hs.cg @@ -85,7 +85,7 @@ instance Yesod ~sitearg~ where approot = ApprootMaster $ appRoot . settings -- Store session data on the client in encrypted cookies, - -- place the encryption key file in the config folder + -- default session idle timeout is 120 minutes makeSessionBackend _ = do key <- getKey "config/client_session_key.aes" return . Just $ clientSessionBackend key 120 diff --git a/yesod/scaffold/tiny/Foundation.hs.cg b/yesod/scaffold/tiny/Foundation.hs.cg index a044bbd9..1dbec877 100644 --- a/yesod/scaffold/tiny/Foundation.hs.cg +++ b/yesod/scaffold/tiny/Foundation.hs.cg @@ -63,7 +63,7 @@ instance Yesod ~sitearg~ where approot = ApprootMaster $ appRoot . settings -- Store session data on the client in encrypted cookies, - -- place the encryption key file in the config folder + -- default session idle timeout is 120 minutes makeSessionBackend _ = do key <- getKey "config/client_session_key.aes" return . Just $ clientSessionBackend key 120