Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace google.com with recaptcha.net #4284

Merged
merged 2 commits into from
Nov 2, 2022
Merged

Conversation

yifanmai
Copy link
Contributor

Reasons for making this change

This allows reCaptcha to be usable from within China. Refer to the reCaptcha documentation.

Related issues

Screenshots

Accounts page is unchanged.

Checklist

  • I've added a screenshot of the changes, if this is a frontend change
  • I've added and/or updated tests, if this is a backend change
  • I've run the pre-commit.sh script
  • I've updated docs, if needed

@@ -78,7 +78,7 @@ def do_signup():
if not token:
errors.append('Google reCAPTCHA token is missing.')
else:
url = 'https://www.google.com/recaptcha/api/siteverify'
url = 'https://www.recaptcha.net/recaptcha/api/siteverify'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is https://www.recaptcha.net? Do you have an info page on what it's used for / who runs it / how it uses data?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I found it, it's google. Can you link to https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally in the comments?

@@ -78,7 +78,7 @@ def do_signup():
if not token:
errors.append('Google reCAPTCHA token is missing.')
else:
url = 'https://www.google.com/recaptcha/api/siteverify'
url = 'https://www.recaptcha.net/recaptcha/api/siteverify'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I found it, it's google. Can you link to https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally in the comments?

@yifanmai
Copy link
Contributor Author

yifanmai commented Nov 2, 2022

I'll rebase this branch.

@mergify mergify bot merged commit d269492 into master Nov 2, 2022
@mergify mergify bot deleted the yifanmai/3698-recaptcha branch November 2, 2022 17:26
@leilenah leilenah mentioned this pull request Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants