diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-26 12:41:20 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-26 12:41:20 -0400 |
commit | 95f4b192f0accbdaaa4e5c985b4e1c1a17b8aec7 (patch) | |
tree | a512ef070b2beabd831043dcfa9b053d9f1c4f02 /Assistant | |
parent | 3c117685ebaceb1b33ba2058255ef55518a0f850 (diff) |
on second thought, the session cookie is still useful to support setMessage
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Threads/WebApp.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs index 6e2296d5c..d663b0cd5 100644 --- a/Assistant/Threads/WebApp.hs +++ b/Assistant/Threads/WebApp.hs @@ -60,8 +60,7 @@ instance Yesod WebApp where excludeStatic [] = True excludeStatic (p:_) = p /= "static" - {- Sessions are overkill for a local webapp with 1 user. -} - makeSessionBackend _ = return Nothing + makeSessionBackend = webAppSessionBackend getHomeR :: Handler RepHtml getHomeR = defaultLayout $ do |