shortening user timeout to 30 days

This commit is contained in:
nek0 2015-07-21 09:15:09 +02:00
parent 68213ea8df
commit 838ba30a8a

View file

@ -27,7 +27,7 @@ postHomeR = do
getReactivateR :: Handler Html
getReactivateR = do
time <- liftIO getCurrentTime
secs <- return $ (R.read $ formatTime defaultTimeLocale "%s" time) - 8640000
secs <- return $ (R.read $ formatTime defaultTimeLocale "%s" time) - 2592000
users <- runDB $ selectList [UserTimestamp <. secs] [Asc UserIdent]
defaultLayout $ do
$(widgetFile "reactivate")