Source of file NoCaptchaProtector.php
Size: 0,460 Bytes - Last Modified: 2021-12-23T10:51:35+00:00
/var/www/docs.ssmods.com/process/src/code/NoCaptchaProtector.php
12345678910111213141516 | <?php class NoCaptchaProtector implements SpamProtector { function getFormField($name = "NoCaptchaField", $title = "Captcha", $value = null, $form = null, $rightTitle = null) { Requirements::javascript("https://www.google.com/recaptcha/api.js"); // load servers. Needs to be called before validKeys() return new NoCaptchaField($name, $title, $value, $form, $rightTitle); } public function setFieldMapping($fieldMapping){ return true; } } |