fix CPP error

This commit is contained in:
Greg Weber 2011-08-24 11:07:40 -07:00
parent 6f9b0f359c
commit 8938401ce5

View File

@ -144,7 +144,7 @@ instance YesodAuth ~sitearg~ where
, authEmail
]
-- Sends off your mail. Requires sendmail in production!
deliver :: ~sitearg~ -> L.ByteString -> IO ()
#ifdef PRODUCTION
deliver _ = sendmail
@ -152,7 +152,6 @@ deliver _ = sendmail
deliver y = logLazyText (getLogger y) . Data.Text.Lazy.Encoding.decodeUtf8
#endif
instance YesodAuthEmail ~sitearg~ where
type AuthEmailId ~sitearg~ = EmailId
@ -178,7 +177,7 @@ instance YesodAuthEmail ~sitearg~ where
, partContent = Data.Text.Lazy.Encoding.encodeUtf8 [stext|
Please confirm your email address by clicking on the link below.
#{verurl}
#{verurl}
Thank you
|]