Source of file NocaptchaProtector.php
Size: 0,513 Bytes - Last Modified: 2021-12-23T10:56:56+00:00
/var/www/docs.ssmods.com/process/src/src/Forms/NocaptchaProtector.php
123456789101112131415161718192021 | <?php namespace UndefinedOffset\NoCaptcha\Forms; use SilverStripe\SpamProtection\SpamProtector; class NocaptchaProtector implements SpamProtector { /** * Return the Field that we will use in this protector * @return NocaptchaField */ public function getFormField($name="Recaptcha2Field", $title='Captcha', $value=null) { return NocaptchaField::create($name, $title); } /** * Not used by Nocaptcha */ public function setFieldMapping($fieldMapping) {} } |