From 344a8846562a098c1382edc50c059de73500d293 Mon Sep 17 00:00:00 2001 From: Luite Stegeman Date: Tue, 13 Mar 2012 11:09:18 +0100 Subject: [PATCH] improve makeSessionBackend comment in scaffold --- yesod/scaffold/Foundation.hs.cg | 2 +- yesod/scaffold/tiny/Foundation.hs.cg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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