shortening user timeout to 30 days
This commit is contained in:
parent
68213ea8df
commit
838ba30a8a
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue