MIT licensed by ncaq
Maintained by [email protected]
This version can be pinned in stack with:yesod-recaptcha2-0.2.2@sha256:67f8dde8a32dce46fcefb9732103993efde95a1488b4f0e8a5862c3d54cc0a3c,900

Module documentation for 0.2.2

yesod-recaptcha2

Hackage

hackage

import Yesod.ReCaptcha2
instance YesodReCaptcha App where
    reCaptchaSiteKey = pure "foo"
    reCaptchaSecretKey = pure "bar"
    reCaptchaLanguage = pure Nothing

Append to applicative form

buildForm :: Form MyForm
buildForm = renderDivs $ MyForm
  <$> areq textField "foo" Nothing
  <* reCaptcha