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

feat(turnstile): Use Cloudflare Turnstile instead of Google reCAPTCHA #3839

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

tx0c
Copy link
Contributor

@tx0c tx0c commented Sep 22, 2023

resolves #3313

@tx0c tx0c requested a review from a team as a code owner September 22, 2023 07:25
@vercel
Copy link

vercel bot commented Sep 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
matters-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 6:57pm

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/components/Forms/EmailSignUpForm/Init.tsx Show resolved Hide resolved
src/views/ArticleDetail/AppreciationButton/index.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@robertu7 robertu7 left a comment

Choose a reason for hiding this comment

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

have to add their domain to CSP whitelist:

image

src/components/Context/Turnstile/index.ts Outdated Show resolved Hide resolved
resolves #3313

with an embedded copy of @marsidev/react-turnstile to circumvent the React v17 dependency problems
https://github.com/marsidev/react-turnstile/tree/main/packages/lib/src

after React v18, this can be move back to use @marsidev/react-turnstile instead
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.

Use Cloudflare Turnstile instead of Google reCAPTCHA
2 participants