mirror of
https://github.com/elyby/accounts.git
synced 2024-11-10 07:22:00 +05:30
Replace google.com/recaptcha to recaptcha.net domain to possibly solve China troubles
This commit is contained in:
parent
a2c73e1d17
commit
5a8c2641c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user