afterlogic / webmail-lite-8

Open-source webmail script for existing IMAP server

Home Page:https://afterlogic.org/webmail-lite-8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reCaptcha

glararan opened this issue · comments

Hi,

I just updated webmail to latest version, added google recaptcha v2 - checkbox type. Getting following error at login: reCAPTCHA unknown error.

What could be wrong?

We've noticed that issue as well, seems like something has changed on Google API side. Developers suggest adjusting modules/RecaptchaWebclientPlugin/Module.php file and replacing both the occurences of:

$oRecaptcha = new \ReCaptcha\ReCaptcha($sPrivateKey, new \ReCaptcha\RequestMethod\SocketPost());

with:

$oRecaptcha = new \ReCaptcha\ReCaptcha($sPrivateKey, new \ReCaptcha\RequestMethod\CurlPost());

or, if that one doesn't do the trick, with:

$oRecaptcha = new \ReCaptcha\ReCaptcha($sPrivateKey);

Let us know if either of those worked for you. Thanks.

@afterlogic-support thanks for supp.

Second one did the trick. Thanks