mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-63940 recaptcha: Use www.recaptcha.net in the service endpoint URL
There are countries where www.google.com is a being blocked and recaptcha does not work there. As shown at https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally it is enough to simply use www.recaptcha.net in the service endpoint URL.
This commit is contained in:
parent
08c51ff080
commit
b207af3b48
@ -48,8 +48,8 @@ defined('MOODLE_INTERNAL') || die();
|
||||
/**
|
||||
* The reCAPTCHA URL's
|
||||
*/
|
||||
define('RECAPTCHA_API_URL', 'https://www.google.com/recaptcha/api.js');
|
||||
define('RECAPTCHA_VERIFY_URL', 'https://www.google.com/recaptcha/api/siteverify');
|
||||
define('RECAPTCHA_API_URL', 'https://www.recaptcha.net/recaptcha/api.js');
|
||||
define('RECAPTCHA_VERIFY_URL', 'https://www.recaptcha.net/recaptcha/api/siteverify');
|
||||
|
||||
/**
|
||||
* Returns the language code the reCAPTCHA element should use.
|
||||
|
Loading…
x
Reference in New Issue
Block a user