Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
1873 Zobrazení

Hello,

I would like to enable Cloudflare Turnstile on my website's registration page.


I've already configured it with the keys and it works on the forms in the site.


Anyone have any idea how to configure Cloudflare Turnstile on the signup page to prevent bot signups?


Thanks to all


Avatar
Zrušit
Nejlepší odpověď

Cloudflare's Turnstile CAPTCHA is an effective way to prevent bot registrations on Odoo websites, but by default, it is not applied to the user registration page. Here's how you can integrate it properly:

1. Configure Turnstile on Cloudflare

  • Log into your Cloudflare account.
  • Navigate to Turnstile and click Add Site.
  • Provide your domain and choose Managed Mode (recommended).
  • Copy the Site Key and Secret Key for later use.

2. Enable Turnstile in Odoo

  • Go to Odoo Settings > Integrations.
  • Locate Cloudflare Turnstile and enable it.
  • Enter the Site Key and Secret Key obtained from Cloudflare.
  • Save your settings.

3. Apply Turnstile to the Registration Page

Since Odoo does not automatically add Turnstile to the registration form, you'll need custom implementation:

  • Frontend: Modify the signup page template to include the Turnstile CAPTCHA widget.
  • Backend: Implement server-side validation to ensure CAPTCHA responses are verified before user creation.
  • Alternative: Consider third-party modules that integrate Turnstile into login/signup flows 

4. Testing & Security Best Practices

  • Ensure CAPTCHA verification works before allowing user sign-up.
  • Regularly monitor registration logs for suspicious activity.
  • Update Odoo and Turnstile settings to stay ahead of bot attacks.

At Wan Buffer Services, we’ve successfully integrated Turnstile CAPTCHA in Odoo deployments for enhanced security.

Avatar
Zrušit
Autor Nejlepší odpověď

Thanks for that clear answer !

Avatar
Zrušit
Nejlepší odpověď

Hello,

To enable Cloudflare Turnstile (captcha) on the registration page you can check out the module below.
Maybe it will help you fix your query 
https://apps.odoo.com/apps/modules/18.0/cr_odoo_cloudflare_integration

Thanks,
info@creyox.com

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
lis 22
1935
0
led 21
2490
5
čvc 19
4987
1
kvě 16
3927
3
dub 16
10030