diff options
author | Daniel Stone <daniels@collabora.com> | 2018-12-19 14:19:40 +1100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2019-01-15 13:17:04 +0000 |
commit | 1498aa41f742b3a69bb3b91589dbc42670f52d90 (patch) | |
tree | b6658e4afc57405cccbf348ff3e56068ee04c457 | |
parent | 09d9b11513cfefcfc281f2f85526316fb368d8f2 (diff) | |
download | gitlab-ce-1498aa41f742b3a69bb3b91589dbc42670f52d90.tar.gz |
Use globally-available reCAPTCHA source
As google.com over HTTPS is not available in China and other countries
with large blocks, use reCAPTCHA from recaptcha.net per this FAQ:
https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
-rw-r--r-- | app/assets/javascripts/vue_shared/components/recaptcha_modal.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue b/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue index 1c6c3fc4734..df19906309c 100644 --- a/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue +++ b/app/assets/javascripts/vue_shared/components/recaptcha_modal.vue @@ -19,7 +19,7 @@ export default { data() { return { script: {}, - scriptSrc: 'https://www.google.com/recaptcha/api.js', + scriptSrc: 'https://www.recaptcha.net/recaptcha/api.js', }; }, |