Forum: recaptcha fixed, you can register on forum

Home / Joomla! / CMS / Forum: recaptcha fixed, you can register on forum

Hi.
I’ve fixed forum recaptcha, and now you can register on forum again. It was due to reCaptcha API changes

As for my forum (currently on j2.5):

Open php file plugins/captcha/recaptcha/recaptcha.php
First changes:
from

const RECAPTCHA_API_SERVER = "http://api.recaptcha.net";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net";

to

const RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "www.google.com";

The second changes:
from

$response = $this->_recaptcha_http_post(self::RECAPTCHA_VERIFY_SERVER, "/verify",

to

$response = $this->_recaptcha_http_post(self::RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",

Leave a Reply

Your email address will not be published. Required fields are marked *