Stop bots on your forms, without puzzles
Cloudflare Turnstile for WHMCS
- Version 1.0.0
- WHMCS 8.13 – 9.0
- PHP 8.1 – 8.3
- Updated Nov 22, 2026
Protect login, registration, password reset, contact and tickets with Cloudflare Turnstile. The check runs on your server before WHMCS processes the form, and every attempt is kept in a log.
- 5 protected forms
- One switch per form
- A log of every attempt
Addon module for WHMCS 8.x and 9.x · In English and Spanish
What it solves
Password-list attacks and registration spam come in through the same five forms. Here they are closed without bothering your clients.
- No image puzzles
- Cloudflare decides when to show the checkbox. In Managed mode, most legitimate visitors do not have to do anything.
- Checked on the server
- The verification happens before WHMCS processes the form. Removing the captcha from the page or turning off JavaScript does not get around it.
- Turn on what you need
- One master switch and one per form. If one gives you trouble, you turn it off and the others stay protected.
- You see who tried
- The log shows the date, form, result, IP and the user who tried to log in, with filters and counters for the last 24 hours.
What CloudflareTurnstile looks like inside
Real screens from the module, captured with demo data. The admin panel is also available in English.
Everything it includes
What it protects
- Client area login (the password step; the second factor carries no captcha)
- New account registration
- Password reset: when requesting the link and on the security question
- Contact form
- Opening tickets
- Optional: admin login, off by default
How it is operated
- Test mode with Cloudflare's official test keys
- A button to test the connection with Cloudflare
- Automatic environment check: PHP, HTTPS, keys and permissions
- The secret key is never shown on screen
- A clear message to the visitor when the verification fails
- The log keeps 30 days and cleans itself
- If you get locked out of the admin, the recovery instruction is in the panel
- Works with the stock WHMCS templates and with custom templates
Panel sections inside WHMCS
- Settings
- Log
- Info: documentation, requirements and license
Getting started
-
Create the widget in Cloudflare
In your Cloudflare account, add a Turnstile widget for your domain and copy its two keys into the panel.
-
Turn on the forms
Enable the master switch and the forms you want to protect. Start with login and registration.
-
The module verifies
Every submission of a protected form is checked with Cloudflare. If it fails, the visitor returns to the page with a message and the attempt is logged.
Free for now
The module license stays at $0 until further notice for active ServersMX clients. Turnstile, on Cloudflare's side, has a free plan.
- Five forms and optional admin login
- Attempt log with filters
- Updates and support included
CloudflareTurnstile changelog
Current version: 1.0.0. Last updated: Nov 22, 2026.
-
v1.0.0
- Fixed: the last step of a password reset, where the customer types the new password, asked for a captcha the page never displayed and prevented the change from being completed. That step no longer asks for it; requesting the link and the security question remain protected.
- Fixed: the admin login protection no longer depends on the name of the admin folder; it is read from your installation, so it works even if you renamed it.
- Improved: the module inserts its own widget when the client theme does not include one, so it also works with the stock WHMCS themes. Pages that already show a widget are left untouched.
- Fixed: the "Rejected in 24 h" counter now adds up every blocked attempt, not just one type.
-
v1.0.0
- Fixed: saving the settings while in test mode no longer replaces the stored site key.
- Fixed: paging through the attempts log now keeps the filters you applied.
- Improved: the settings screen shows one setting per row, with its explanation beside it and a single save button.
- Improved: the module panel, manuals included, is now available in Spanish.
-
v1.0.0
- Fixed: on the new-ticket form, the automatic knowledge base suggestions were treated as a submission without a solved captcha and the page reloaded; some customers could not open tickets. Those suggestions now go through, and a real submission still requires the captcha.
- Fixed: when bounced for a missing captcha, the customer went back to step 1 of the ticket instead of the step they were on, with their department already chosen.
See the full history (5 more entries)
-
v1.0.0
- Improved: the captcha is no longer repeated on the customer's two-step verification, on the backup code screen or on sign-in through external accounts; it is skipped only on those screens.
- Improved: password sign-in, the cart and legacy login routes remain protected.
-
v1.0.0
- Improved: dozens of accessibility and design details were fixed on the module's panel screens, such as the order of headings.
- Improved: the screens are easier to use with a screen reader and with the keyboard.
-
v1.0.0
- Improved: the login protection against automated attempts was reinforced to cover the new WHMCS 9 access addresses.
- Improved: the same protection now covers registration, password recovery, the contact form and ticket submission on those addresses, including when the address arrives encoded.
-
v1.0.0
- New: a switch per form, to decide separately whether login, registration, password recovery, contact and tickets are protected.
- New: an option to also protect the administrator login, off by default so you do not lock yourself out of the panel.
- New: an information section with documentation, a check of 11 environment requirements and the license status.
- Improved: the information section explains the log results, the test modes and how to fix the most common problems.
-
v1.0.0
- First release: replaces the WHMCS captcha with the Cloudflare Turnstile widget on login, registration, password recovery, contact and ticket submission.
- Validation happens on the server before the form is processed: without a valid token the request is stopped and the customer returns to the form with a notice.
- Includes an attempts log with last-24-hour indicators, a test mode using Cloudflare's official keys, and automatic history cleanup.
- If you turn the module off, WHMCS goes back to its original captcha with no leftovers.
Frequently asked questions
Does it cost anything?
The module is free for now for active ServersMX clients, and Cloudflare offers Turnstile on its free plan.
Why does the second factor carry no captcha?
Because it is already a second check. The captcha stays on the step where the password is typed, which is where bots attack.
What happens if Cloudflare does not respond?
The attempt is blocked and logged as a network error. If what fails is the module itself, the form is let through so your clients are not locked out.
And if I get locked out of the admin?
Admin protection comes turned off. If you turn it on and something goes wrong, the panel shows you the database instruction to disable it.
Does it work with my WHMCS template?
Yes. If your template already shows the widget, the module uses it; if not, the module inserts it before the submit button. It is tested with the stock Six and Twenty-One templates.
Another question? Write to us and we will reply in English or Spanish.
Block bots, not your clients
A captcha that almost nobody notices and a log that shows you every blocked attempt.