MIT licensed by ncaq
Maintained by [email protected]
This version can be pinned in stack with:yesod-recaptcha2-0.2.4@sha256:0c4947a98c6120588a8f8ba39c9242561267f4c004b09535a9c1dc4610823003,1021

Module documentation for 0.2.4

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