Closed PavelWeirich closed 10 months ago
For better spam filtering, you can use the score returned by Google. The score is in range 0..1 (1.0 is very likely a good interaction, 0.0 is very likely a bot).
How to use it?
Global settings for all forms in config.neon
recaptcha: secretKey: <secretKey> siteKey: <siteKey> minimalScore: 0.5
Or you can define it for each form separately.
$form->addInvisibleReCaptcha('recaptcha') ->setMinimalScore(0.6);
Or you can have the score set globally and then set it differently for some forms. The score set in the form has a higher priority.
👍 Thanks
See issue #65 , in reCaptcha 2 is problem with nonexisting $answer['score']
For better spam filtering, you can use the score returned by Google. The score is in range 0..1 (1.0 is very likely a good interaction, 0.0 is very likely a bot).
How to use it?
Global settings for all forms in config.neon
Or you can define it for each form separately.
Or you can have the score set globally and then set it differently for some forms. The score set in the form has a higher priority.