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

Feature request: User registration form #8

Open
michielgerritsen opened this issue Jan 20, 2025 · 0 comments
Open

Feature request: User registration form #8

michielgerritsen opened this issue Jan 20, 2025 · 0 comments

Comments

@michielgerritsen
Copy link

Hey,

Thanks for making this package/extension. One request though: It would be great if we can add Turnstile validation to the User:Register_Form. That prevents any bots from account creation spam.

I've already looked into this. In src/Fieldtypes/TurnstileFieldtype.php $selectable must be set to true. And the actual verification needs to be done. I think this can be done by adding a listener on \Statamic\Events\UserRegistering, but I'm not familiar enough with Statamic to know if that's the correct way to do it.

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

No branches or pull requests

1 participant