Thank you, this is interesting module.
Configuration
- Sitekey: the sitekey given for the site in your Cloudflare dashboard
- Secret key: the secret key given for the site in your Cloudflare dashboard
- Theme: the Turnstile theme (auto, light or dark)
- Forms to validate: the forms where a Turnstile validation is required
For the registration form, the widget is automatically added with a hook. For "contact", "login" and "reset password" forms,
you need to manually add the widget in the template files, usually before the validation button.
Never select a form to validate without the widget in the form template.
Widget
{widget name='pixel_cloudflare_turnstile'}
Override the default configured theme by adding a theme option (auto, light or dark):
{widget name='pixel_cloudflare_turnstile' theme='dark'}
Override the default action name by adding an action option:
{widget name='pixel_cloudflare_turnstile' action='my-form'}