A spam protection field for Silverstripe using the hCaptcha service.
$ composer require 3dgoo/silverstripe-hcaptcha
After installing the module via composer we must set the spam protector to HCaptchaProtector through a config yml file.
app/_config/spamprotection.yml file and add the following details:
--- name: app-spamprotection --- SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension: default_spam_protector: X3dgoo\HCaptcha\Forms\HCaptchaProtector X3dgoo\HCaptcha\Forms\HCaptchaField: site_key: "YOUR_SITE_KEY" secret_key: "YOUR_SECRET_KEY"
We generate our site key and secret key at https://www.hcaptcha.com/
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem