impossible condition
This commit is contained in:
parent
8323c044e1
commit
04176a3e42
1 changed files with 1 additions and 2 deletions
|
@ -33,8 +33,7 @@ postReactivateR = do
|
||||||
case result of
|
case result of
|
||||||
FormSuccess temp -> do
|
FormSuccess temp -> do
|
||||||
users <- runDB $ selectList [UserEmail ==. temp] []
|
users <- runDB $ selectList [UserEmail ==. temp] []
|
||||||
if
|
if not $ null users
|
||||||
null users
|
|
||||||
then do
|
then do
|
||||||
userTokens <- foldM (\userTokens (Entity userId user) -> do
|
userTokens <- foldM (\userTokens (Entity userId user) -> do
|
||||||
token <- liftIO $ generateString
|
token <- liftIO $ generateString
|
||||||
|
|
Loading…
Reference in a new issue