recaptcha-0.1.0.4: Functions for using the reCAPTCHA service in web applications.
Network.Captcha.ReCaptcha
Synopsis
captchaFields Source #
Arguments
reCAPTCHA public key
Nothing or Just an error message returned by previous validate attempt
Nothing
Just
Returns HTML element to be inserted in the form for which a CAPTCHA is wanted.
validateCaptcha Source #
reCAPTCHA private key
IP address of the user who solved the CAPTCHA
value of the recaptcha_challenge_field
value of the recaptcha_response_field
Left error message, or Right () for success
Left
Right ()
Verify a CAPTCHA.