Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
1130 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor Beste Antwort

Thanks for that clear answer !

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 22
1536
0
Jan. 21
1872
5
Juli 19
4393
1
Mai 16
3426
3
Apr. 16
9466