dev-master
9999999-devDisplay Google's new reCaptcha form widget and validate responses.
The Requires
1.0
1.0.0.0Display Google's new reCaptcha form widget and validate responses.
The Requires
Wallogit.com
2017 © Pedro Peláez
Display Google's new reCaptcha form widget and validate responses.
Craft plugin to display Google's new reCaptcha form widget and validate responses., (*1)
Forked from https://github.com/aberkie/craft-recaptcha, (*2)
Additional features:, (*3)
To display a reCAPTCHA widget in any template, use {{craft.recaptcha.render()}}., (*4)
Just add the widget to the form and make sure the action is users/saveUser. This
plugin will listen for the new user and check the recaptcha., (*5)
To verify a user's input, call the plugin's verify service from your own plugin:, (*6)
$captcha = craft()->request->getPost('g-recaptcha-response');
$verified = craft()->recaptcha_verify->verify($captcha);
if($verified)
{
//User is a person, not a robot. Go on and process the form!
} else {
//Uh oh...its a robot. Don't process this form!
}
Display Google's new reCaptcha form widget and validate responses.
Display Google's new reCaptcha form widget and validate responses.