adjusted indentation of if/then/else to be more compact

This commit is contained in:
charukiewicz 2020-03-21 10:21:05 -05:00
parent ff8ad9717f
commit c5e76faf4d

View File

@ -695,10 +695,9 @@ getVerifyR lid key hasSetPass = do
Just uid -> do
setCreds False $ Creds "email-verify" email [("verifiedEmail", email)] -- FIXME uid?
setLoginLinkKey uid
let msgAv = if hasSetPass then
Msg.EmailVerified
else
Msg.EmailVerifiedChangePass
let msgAv = if hasSetPass
then Msg.EmailVerified
else Msg.EmailVerifiedChangePass
selectRep $ do
provideRep $ do
addMessageI "success" msgAv