I am implementing reCAPTCHA on one of my websites and I have successfully implemented it. It is working fine. Sometime the reCAPTCHA gets completed only by clicking the "I'm not a Robot" but sometimes it shows the images grid to select the correct images and complete the captcha.
I was just wondering if this possible or not. Can we disable the images selection challenge so the reCAPTCHA can be completed only by clicking the "I'm not a Robot". What is the theory of Google for showing the images grid?
I have already read this : Prevent reCaptcha multiple image selections but there is not enough information there.
Thanks!
I have included recaptcha/api.js
below.
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallbackAuto&render=explicit&hl=<?php echo $lang;?>" async defer >
My reCAPTCHA code is below:
var onloadCallbackAuto = function() {
/// do something....
}
var verifyCallback = function() {
/// do something....
}
grecaptcha.render('gReCaptchaDiv', {
'sitekey' : '<?php echo $siteKey;?>',
'callback' : verifyCallback,
'theme' : 'light'
});