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

Updated recaptcha implementation #566

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Updated recaptcha implementation #566

merged 2 commits into from
Sep 20, 2023

Conversation

johnyu95
Copy link
Contributor

This PR rewrites the OpenRecords recaptcha implementation.

Notes:

  • Previous implementation was not working properly because responses where not verified using https://www.google.com/recaptcha/api/siteverify.
  • Removed recaptcha_utils.py and references using Recaptcha3Field.
  • Referenced implementation in Women's Activism Recaptcha nycrecords/womens_activism_nyc#26.
  • For local development you can disable recaptcha by setting RECAPTCHA_ENABLED=False in .env.

Copy link
Contributor

@zgary zgary left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@johnyu95 johnyu95 merged commit 6256f55 into main Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants