albertcht / invisible-recaptcha

An invisible reCAPTCHA package for Laravel, Lumen, CI or native PHP.
MIT License
601 stars 162 forks source link

This commit adds a score configuration option to the package #165

Open rowanfuchs opened 1 year ago

rowanfuchs commented 1 year ago

This commit adds a new configuration option to the package, allowing developers to set the minimum score required for a successful verification. By default, the score is set to 0.5, but developers can now adjust this value to better suit their specific use case.

deer-wmde commented 11 months ago

Nice job, the 0.5 default seems also to be recommended by Google: https://developers.google.com/recaptcha/docs/v3#interpreting_the_score

I think currently without this fix, this package is rendered useless.