Easy Secure Login protects how people sign in to your shop and your back office. It blocks passwords tried at random, stops robots without a captcha, and lets your customers and your team sign in more safely: with a code, an access key or a link received by e-mail.
This guide is for merchants, not developers. Every protection is optional: you choose what you switch on, and a protection switched off gives back the original PrestaShop sign-in. Version described: 1.0.0.
1. What the module does
The protections
- Blocking of passwords tried at random: after several wrong passwords, the targeted account and the address that keeps trying are blocked for a few minutes.
- Robot trap: an invisible trap stops robots on the sign-in and the account creation; with Pro, also on the contact, newsletter and forgotten password forms, and on the back office sign-in.
- Two-step verification: after the password, a 6-digit code shown by a free phone app, for the team; with Pro, also for the customers who want it.
- Access key (Pro): sign-in with the fingerprint, the face or the code of the device, without a password.
- Sign-in link by e-mail (Pro): the customer receives a link and signs in without a password.
Compatibility and requirements
- PrestaShop 1.7.6 to 9.x, PHP 7.1 or later.
- Classic and Hummingbird themes.
- Access keys need the shop and the back office served over https (browsers also accept them on a "localhost" test address).
- Module in English, French, German, Spanish, Italian and Polish.
2. Installation and setup
- In PrestaShop, open Modules > Module Manager, click "Upload a module" and select the ZIP, without unzipping it.
- Open Easy Secure Login ("Configure" button): the setup opens.
The setup in four steps
- What to protect: tick the shop (your customers), the back office (you and your team), or both.
- Protections: tick the ones you want. The password blocking and the robot trap are ticked by default, because they are invisible to your customers; everything else is optional.
- Summary: read what will be switched on, then save.
- Ready: if you chose two-step verification for the team, the module offers to protect your own account right away (2 minutes).
The "Skip the setup" link goes straight to the dashboard. The setup opens again from the Settings tab.



Licence and Pro plan
The module works without a licence, as the free version. For Pro (€2 a month or €19.20 a year), take the plan on modules.gekkode.com, then paste the licence key of your account into the module: from the first step of the setup ("Connect my licence") or at the bottom of the dashboard. The page reloads and the Pro options unlock right away.

Every "Pro" badge of the module opens the "Free or Pro" comparison, with the link to the plan and the "I already have a licence" button.

3. The dashboard
One sentence says where you stand, for example "Your choices are in place". Three cards then sum up your customers, your team and the automatic defences; an icon marks what is on and what is off, and the "Set up" link of each card leads to the matching tab. The to-do list reminds you of what is left, such as protecting your own account.

4. Your customers (Customers tab)
Three safer ways to sign in, to switch on one by one (Pro).

Sign-in link
On the sign-in page, the customer can ask for a link by e-mail. The link works once, for a few minutes. The message shown is the same whether the address matches an account or not: nobody can use it to find out who your customers are.


Access key
The customer adds an access key from their account, under Sign-in and security, then signs in with the fingerprint, the face or the code of their phone or computer. No more password to remember, or to have stolen.

Two-step verification
Each customer who wants it switches it on from the same page: they install a free app (Google Authenticator, Microsoft Authenticator, 2FAS…), scan a picture, copy a code and keep their 10 recovery codes. Nothing is imposed on the other customers.

A customer who lost their phone and their recovery codes gets help from their page in the back office (Customers > Customers, "Sign-in and security" card): first make sure you are talking to the right person, then remove their two-step verification.

5. Your team (Team tab)
Two-step verification
Switch it on, then choose the rule: mandatory for everyone, with 14 days to get set up and reminders by e-mail, or left to each member. When it is mandatory, a member who is not set up yet is guided before entering: install the app, scan a picture, copy a code, store their 10 recovery codes. It takes 2 minutes.


With Pro, a member who cannot install an app receives their code by e-mail, and everyone can add an access key to enter without a password or a code.


My security
Each employee has their own My security page, open even without access to the modules. There they switch two-step verification on, see how many recovery codes are left, create new ones, add an access key (Pro) and find their remembered devices.


Helping a member who lost everything
If a member lost their phone and their recovery codes, an administrator removes their protections from the Team tab. That member then enters with the password alone, is told by e-mail, and can get set up again.
6. Blocks and robots
Passwords tried at random
Set the number of attempts and the length of the block, separately for a customer, for a team member and for one IP address. By default: 5 attempts then 15 minutes for a customer, 5 attempts then 30 minutes for the team, 20 attempts then 60 minutes for an address. The block lifts by itself; you can also unblock someone straight away.


Robot trap
The trap is invisible to your customers: no pictures to click, no box to tick. It spots what only robots do, such as filling in a hidden field or sending a form faster than anyone could read it. Choose the protected forms: sign-in and account creation; with Pro, contact, newsletter, forgotten password and the back office sign-in.
Invisible captcha of Cloudflare
From version 1.1.0, Cloudflare Turnstile can add a second barrier on the same forms. It checks in silence that a person uses the browser: your customers have nothing to click, except in a rare doubt, when Cloudflare shows a box just above the button. It is off by default.
Setting it up takes a few minutes. The Cloudflare pictures show its dashboard in French: yours shows the same screens in your language.
1. Create the widget in Cloudflare. A free Cloudflare account is enough, and your shop does not need to use Cloudflare otherwise. The Open Turnstile link of the module’s card opens the right page.
a. On the page of the Turnstile widgets, click the button that adds a widget manually (on the picture: Ajouter le widget manuellement), not the assistant.

b. Give the widget a name, for example the name of your shop. Under the hostnames, type the domain of your shop, without https://, then choose the line that adds it as a custom hostname. If your shop already goes through Cloudflare, you can also pick it from the list.

c. Under the widget mode, choose Invisible. Leave the pre-clearance option off, then click the create button (on the picture: Créer).

d. Cloudflare shows the two keys of the widget: the site key and the secret key. A click on a key copies it. You can show them again later from the list of widgets.

2. Paste the keys into the module. In the Blocks and robots tab, switch on the Invisible captcha of Cloudflare card, then paste the site key and the secret key into their fields.

3. Test the keys, then save. Click Test the keys. When the card says “The two keys work. Save to keep them.”, click Save, in the card. The captcha only starts once its keys passed the test: a wrong key never refuses a customer.


If Cloudflare does not answer your server, the invisible trap keeps protecting the forms. Cloudflare receives the internet address and details of the browser of the people who fill in these forms: mention it in your privacy policy. For the invisible mode, Cloudflare also asks you to mention its Turnstile privacy addendum there.
Addresses always allowed or always blocked (Pro)
An IP address that is always allowed is never blocked, the one of your office for example. An address that is always blocked can no longer sign in.
7. Activity
The history lists the sign-ins, the blocks, the robots stopped and the settings changes, with filters. It keeps 90 days; with Pro, one year, and an "Export" button.

8. Settings
There you open the setup again, set the e-mail alerts (new device, blocked account, wave of robots stopped), adapt the module to your theme (see chapter 9) and find the emergency access.

Emergency access
It is only needed if every administrator loses their phone and their recovery codes at the same time. In this order:
- a recovery code;
- another administrator, who removes your protections from the Team tab;
- your host or your technician, who switches two-step verification of the team off from the server, following the "Instructions for the technician" of the Settings tab.
Switching it off from the server also switches off the robot trap of the back office sign-in. Back in the back office, switch two-step verification on again in the Team tab, and the trap in the Blocks and robots tab.
An e-mail tells you when the emergency access was used.

9. Adapt to your theme
The buttons and the pages of the module use the classes of PrestaShop: this way, they take the look of your theme. Some themes change these classes, or open their own sign-in window. A button can then look like plain text, or the window of the theme can miss the ways in without a password. From version 1.0.4, the Look on the shop card of the Settings tab corrects this without touching your theme.
From version 1.1.0, this card takes the full width of the tab. It holds the option for the windows of the theme, a CSS editor with its preview, and a reference for the person who maintains your theme.
Sign-in windows of the theme
Some themes open their own sign-in window from the header, or a side panel. These windows leave no room for the modules: the buttons of the module are missing there. Switch on Also show the ways in without a password under the sign-in forms of the theme (pop-up, side panel): the buttons "Sign in with an access key" and "Receive a sign-in link by e-mail" then come under each sign-in form of the theme, on every page, even in a window the theme opens later. Once signed in, the customer comes back to the page they were on.
Nothing shows when neither the sign-in link nor the access keys are on, or when the shop has no Pro licence.
Under the switch, the card shows the real effect of the option: "On", "Off", or "No effect for now" as long as neither the sign-in link nor the access keys are on, or without a Pro licence.
CSS of the shop
To correct a small display problem, such as a button without its outline or a text in capitals, write a few lines of CSS in the CSS of the shop editor. The shop adds them to all its pages, after the styles of the theme. They stay in place when you update the theme or the module. The editor takes up to 20,000 characters and counts them as you type.
- Insert a selector adds an empty rule for a class of the module. A picture next to each class shows the part of the shop it targets. Ready snippets adds a common correction, for example an outline that always shows.
- A check lists, line by line, a closing brace too many or braces never closed, a comment "/*" never closed, a style or script tag (removed when saving) and a rule that also targets the theme, such as
body. It only helps: it never blocks the saving. - The preview shows the real sign-in page of your shop, with its theme, its CSS and the CSS of the editor (not saved yet), on a computer or a phone: click Show the real page of the shop to open it. My account shows when you are signed in as a customer on the shop, in the same browser. With Inspect on, hover an element of the preview, then click: its selector goes into the editor.
- Cancel the changes goes back to the saved CSS. Save applies it to the shop.
After saving, clear the cache of PrestaShop (Advanced Parameters > Performance), and the one of your cache module if you have one: otherwise the shop can keep showing the former CSS. When saving, the style and script tags and the HTML comment marks are removed.
/* Text of the buttons in normal letters */
.esl-login-more .esl-wide { text-transform: none; letter-spacing: normal; }
/* Colour of the separator */
.esl-or { color: #6b7280; }
The classes of the module stay the same from one version to the next:
| Class | Element |
|---|---|
.esl-login-more | Block under a sign-in form: the separator and the buttons |
.esl-or | Separator "or, without a password" |
.esl-wide | Buttons "Sign in with an access key" and "Receive a sign-in link by e-mail" |
.esl-label | Text of a button, next to its icon |
.esl-ico | Icon of a button |
#esl-security-link, #esl_security_main_link | Link "Sign-in and security" of the customer account (Classic, Hummingbird) |
.esl-page | Pages of the module: sign-in link, two-step verification, "Sign-in and security" |
CSS variables
From version 1.1.0, seven variables set the block under the forms without writing a selector. Declare them in :root for the whole shop, or on .esl-login-more:
:root {
--esl-button-transform: none;
--esl-button-radius: 8px;
}
| Variable | Default | Role |
|---|---|---|
--esl-block-width | 420px | Width of the block under the form |
--esl-gap | 12px | Space between the separator and the buttons |
--esl-button-transform | the one of the theme | Case of the text of the buttons (none, uppercase) |
--esl-button-radius | the one of the theme | Corners of the buttons |
--esl-button-border | the one of the theme | Outline of the buttons |
--esl-or-opacity | 0.75 | Strength of the separator |
--esl-icon-size | 20px | Size of the icons of the buttons |
Unset, they change nothing on screen: the width, the space, the separator and the icons keep the values of the module, and the buttons keep the look of your theme. The CSS variables tab of the Reference for the integrator lists them, with a button to copy each one. A theme can also declare them in its own CSS.
For your developer: overriding a template
This part is for the person who maintains your theme. To change the HTML of the module, copy one of its templates into your theme, under themes/<your theme>/modules/easysecurelogin/, at the same path, and edit the copy. This is the standard way of PrestaShop: updates of the module never overwrite the copy. With a child theme, put the copy in the folder of the child theme. Then clear the cache of PrestaShop.
| Template of the module | What it shows |
|---|---|
views/templates/hook/front-login-buttons.tpl | The buttons under a sign-in form |
views/templates/hook/front-account-link.tpl | The link "Sign-in and security" of the customer account |
views/templates/front/security.tpl | The page "Sign-in and security" |
views/templates/front/link.tpl | The pages of the sign-in link |
views/templates/front/setup.tpl | Switching two-step verification on |
views/templates/front/verify.tpl | The code asked at sign-in |
In the card, the Templates of the theme tab of the Reference for the integrator gives the path of each copy, with a Copy the path button.
For example, the copy of the buttons goes to themes/<your theme>/modules/easysecurelogin/views/templates/hook/front-login-buttons.tpl. Keep the data-esl-… attributes and the names of the form fields: the script and the forms of the module need them. A copy does not receive the changes of the next versions: compare it with the template of the module after each update.
10. Frequently asked questions
What happens if I disable the module?
The PrestaShop sign-in goes back to the original one: the password alone. The settings and the history stay in place as long as you do not uninstall the module.
What about sign-ins through a social network?
They go through their own module: two-step verification and access keys do not apply to them.
What about personal data?
A customer's data linked to the module is exported and erased by the official PrestaShop GDPR module, with the rest of their account.