
Create a free widget at Cloudflare in Invisible mode, then paste the site key and the secret key into the “Invisible captcha of Cloudflare” card of Easy Secure Login. Once the keys pass the test, sign-in and account creation are protected without asking customers for anything.
Sécurité PrestaShop : anti-robots, double authentification, clé d'accès | Easy Secure Login
The Gekkode YouTube channel publishes more videos about AI and code.
Subscribe to support the channelA captcha is the small test that checks a human is filling in the form, like the “I’m not a robot” box. It gets in customers’ way, but without one, robots create fake accounts on the shop. Cloudflare Turnstile, Cloudflare’s free captcha, does this check without asking the visitor anything in most cases.
PrestaShop ships none: version 9.1.5, used for this tutorial, has no captcha on account creation, sign-in, contact or newsletter. Easy Secure Login, Gekkode’s security module, connects Turnstile to sign-in and account creation in four steps.
What Turnstile asks of your customers
Nothing, most of the time. Cloudflare places a small check in the page, which it calls a widget, and its widget documentation describes three ways to display it. Managed mode only shows a tick box when one more check is needed, with no image or text to decipher. Non-interactive mode shows a small loading wheel, with no gesture to make. Invisible mode, the one Easy Secure Login uses, shows nothing at all.
The free plan is enough for a shop: up to 20 widgets, ten domain names per widget and an unlimited number of checks, according to the plans page consulted on 30 November 2026. The Turnstile overview states that the widget also works on a site whose traffic does not go through Cloudflare: your shop does not have to change host or domain name.
Create the widget at Cloudflare
You need a Cloudflare account, which is free too. Its dashboard appears in French or in English depending on the language of the account. The screenshots show the French version, and the English labels from Cloudflare’s help page follow in brackets.
Open the Turnstile page of the dashboard, which lists your widgets, and click “Add widget” (shown as “Ajouter le widget manuellement” in French).

Give the widget a name (Widget name), for example “Shop, sign-in and sign-up”. Under “Hostname management”, enter your shop’s domain name. A widget accepts up to ten.

Under “Widget mode”, choose Invisible, the mode the module asks for, then click “Create”. For this mode, Cloudflare reminds you to cite its Turnstile privacy addendum, the text that describes the data it receives, in your privacy policy.

If the form also offers a region, keep “Rest of World” unless your visitors are mostly in China: Cloudflare’s documentation states that it cannot be changed after creation.
Cloudflare then shows two keys. The site key is public: it appears in your shop’s pages, for everyone to see. The secret key is what the shop uses to have each check confirmed by Cloudflare, and it goes nowhere except in the module.

Connect the two keys in Easy Secure Login
The module installs like any PrestaShop module: Modules > Module Manager > Upload a module, then the ZIP downloaded from your Gekkode customer area. Its robot trap, which spots robots without showing anything to customers, is on by default and free. Cloudflare’s captcha is added on top.
In the module, open the “Blocks and robots” tab, find the “Invisible captcha of Cloudflare” card, switch it on, paste the two keys and click “Test the keys”. The module then runs Cloudflare’s check in your browser, and asks Cloudflare to validate the result with the secret key.

If the site key and the secret key come from two different widgets, the test says so and nothing is switched on:

Then click Save. The module shows “On: the protected forms also ask Cloudflare.” The captcha only switches on with keys that have passed the test, so a wrong key cannot turn your customers away.
Try it with Cloudflare’s test keys
Before creating your real widget, you can check the setup with the dummy keys that Cloudflare publishes on its testing page. The site key 1x00000000000000000000BB stays invisible and always lets visitors through, and the secret key 1x0000000000000000000000000000000AA always accepts the check.
On a test shop running PrestaShop 9.1.5, these two keys passed the module’s test, and the sign-in form went out with Cloudflare’s answer. Because they let everybody through, robots included, replace them with the keys of your widget before you open the shop.
What happens on the shop
Nothing changes on screen. The sign-in or sign-up page keeps its look, with no box or image. A box only appears if Cloudflare doubts the visitor, a rare case according to the module.
Behind the scenes, Cloudflare hands the customer’s browser a token, a kind of single-use ticket, which the form sends along with its other fields. The shop then asks Cloudflare whether that token is good. According to Cloudflare’s page on this check, a token expires after five minutes and is accepted only once. If the customer stays on the page longer, the module asks for a new one by itself.
If Cloudflare does not answer, the shop turns nobody away. The form carries on with the robot trap alone, and the incident is noted in the module’s log.
Protected forms, on the free plan and on Pro
| Form | Free | Pro |
|---|---|---|
| Account creation | Yes | Yes |
| Customer sign-in | Yes | Yes |
| Contact | — | Yes |
| Forgotten password | — | Yes |
| Newsletter sign-up | — | Yes |
| Back-office sign-in | — | Yes |
The Pro plan costs €2 a month or €19.20 a year. The guide to spam and fake accounts goes through these forms.
Before going live
- Cite Cloudflare and its Turnstile addendum in your privacy policy. Cloudflare receives the internet address and some details about the browser of the people who fill in the protected forms.
- Keep one captcha per form. If another module or the theme already adds one, switch that form off in the module’s list, otherwise the customer goes through two checks.
- The secret key is for the shop only. If it has been displayed anywhere else, create a new widget and run the test again.
Turnstile backs up another barrier: the article on the alternative to reCAPTCHA describes the robot trap, which acts before it, and the guide to PrestaShop security presents the module’s other protections.
What to remember
- Turnstile is free, with up to 20 widgets, and the shop does not need to route its traffic through Cloudflare.
- Easy Secure Login connects Turnstile to sign-in and account creation from its free version, after a test of the two keys.
- Customers see nothing, except when Cloudflare has doubts.
- The contact, newsletter and forgotten-password forms need the Pro plan.
- Cloudflare’s test keys are for checking the setup and must never stay online.
To try it, download the ZIP from the Easy Secure Login page, which also lists the compatible PrestaShop versions (1.7.6 to 9.x) and what each plan contains.



