MIT licensed by ncaq
Maintained by ncaq@ncaq.net

Module documentation for 1.0.0

This version can be pinned in stack with:yesod-recaptcha2-1.0.0@sha256:ebea8f043a7660fd9e19065a9f53796bdd3c3183c457e9c0a5a9feab48ff8c4c,1231

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