delete session on home screen
This commit is contained in:
parent
5f4f7678c5
commit
4ca9335f06
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ import Data.Time.Calendar (addDays)
|
||||||
-- inclined, or create a single monolithic file.
|
-- inclined, or create a single monolithic file.
|
||||||
getHomeR :: Handler Html
|
getHomeR :: Handler Html
|
||||||
getHomeR = do
|
getHomeR = do
|
||||||
|
deleteSession "pinentry"
|
||||||
settings <- getsYesod appSettings
|
settings <- getsYesod appSettings
|
||||||
beverages <- runDB $ selectList [BeverageAmount !=. 0] [Desc BeverageIdent]
|
beverages <- runDB $ selectList [BeverageAmount !=. 0] [Desc BeverageIdent]
|
||||||
today <- liftIO $ utctDay <$> getCurrentTime
|
today <- liftIO $ utctDay <$> getCurrentTime
|
||||||
|
|
Loading…
Reference in a new issue