MIT licensed by ncaq
Maintained by ncaq@ncaq.net
This version can be pinned in stack with:yesod-recaptcha2-1.0.1@sha256:d0e2889ba3953fd3458092a962bf992c188285dce499aef08d5b09632dd829fe,1214

Module documentation for 1.0.1

yesod-recaptcha2

Hackage Build Status

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