yesod-recaptcha2: yesod recaptcha2

[ library, mit, web ] [ Propose Tags ]

recaptcha2 for yesod-form


[Skip to Readme]
Versions 0.1.0.0, 0.1.0.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4
Dependencies base (>=4.7 && <5), classy-prelude-yesod, http-conduit, yesod-auth [details]
License MIT
Copyright © ncaq
Author ncaq
Maintainer ncaq@ncaq.net
Category Web
Home page https://github.com/ncaq/yesod-recaptcha2#readme
Bug tracker https://github.com/ncaq/yesod-recaptcha2/issues
Source repo head: git clone https://github.com/ncaq/yesod-recaptcha2
Uploaded by ncaq at Wed Mar 14 05:00:46 UTC 2018
Distributions LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4
Downloads 1152 total (95 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for yesod-recaptcha2-0.2.4

[back to package description]

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