Source of file HCaptchaProtector.php
Size: 0,505 Bytes - Last Modified: 2023-03-17T10:00:03+00:00
/var/www/docs.ssmods.com/process/src/src/Forms/HCaptchaProtector.php
12345678910111213141516171819202122232425 | <?php namespace X3dgoo\HCaptcha\Forms; use SilverStripe\SpamProtection\SpamProtector; class HCaptchaProtector implements SpamProtector { /** * Return the Field that we will use in this protector * @return string */ public function getFormField($name = 'HCaptchaField', $title = 'Captcha', $value = null) { return HCaptchaField::create($name, $title); } /** * Not used by HCaptcha */ public function setFieldMapping($fieldMapping) { } } |