Replace google.com/recaptcha to recaptcha.net domain to possibly solve China troubles

This commit is contained in:
ErickSkrauch 2018-03-16 19:05:39 +03:00
parent a2c73e1d17
commit 5a8c2641c1

View File

@ -12,7 +12,7 @@ use yii\di\Instance;
class Validator extends \yii\validators\Validator {
private const SITE_VERIFY_URL = 'https://www.google.com/recaptcha/api/siteverify';
private const SITE_VERIFY_URL = 'https://recaptcha.net/recaptcha/api/siteverify';
private const REPEAT_LIMIT = 3;
private const REPEAT_TIMEOUT = 1;