yesod-recaptcha2: yesod recaptcha2

[ library, mit, web ] [ Propose Tags ]

recaptcha2 for yesod-form


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.0, 1.0.0, 1.0.1, 1.0.2, 1.0.2.1
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 2018-03-14T05:00:46Z
Distributions LTSHaskell:1.0.2.1, NixOS:1.0.2.1, Stackage:1.0.2.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5557 total (42 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-14 [all 1 reports]

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