adjusted indentation of if/then/else to be more compact
This commit is contained in:
parent
ff8ad9717f
commit
c5e76faf4d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user