fix confirmation email status

I screwed this up in a big re-factoring in 153654ad
This commit is contained in:
Greg Weber 2014-09-16 18:10:40 -07:00
parent 50f57a3586
commit 448b33d1cc

View File

@ -182,7 +182,9 @@ class ( YesodAuth site
confirmationEmailSentResponse :: Text -> HandlerT site IO TypedContent
confirmationEmailSentResponse identifier = do
mr <- getMessageRender
messageJson401 (mr msg) $ authLayout $ do
selectRep $ do
provideJsonMessage (mr msg)
provideRep $ authLayout $ do
setTitleI Msg.ConfirmationEmailSentTitle
[whamlet|<p>_{msg}|]
where