
Up to 9.2, PrestaShop does not limit password attempts. From its free version, Easy Secure Login blocks a customer account for 15 minutes after 5 errors, a team account for 30 minutes, and an internet address after 20 errors, with a message that never says whether the account exists.
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 brute-force attack consists of trying passwords, by the thousand, until the right one is found, like a burglar testing the keys of an enormous bunch one by one. On a shop, the target is the back-office sign-in page or the one for customer accounts.
PrestaShop does not stop it. From 1.7.6 to 9.2, it lets you try as many passwords as you like, according to a read-through of its code and a test on 9.1.5. Its only safeguard is a delay between two requests for a new password. Easy Secure Login blocks these attempts, and the blocking is part of its free version.
Two attacks that look alike
Brute force guesses. The robot runs through common passwords, such as 123456 or azerty, on one account, or tries the same password on many accounts. Credential stuffing guesses nothing. OWASP, a foundation that documents attacks on websites, describes it on its page: the robot tries stolen usernames and passwords, most often leaked from a site other than the one targeted. The logins from a hacked forum, for example, are tried on your shop.
This second attack works on customers who keep the same password everywhere, since the password stolen elsewhere opens their account with you at the first attempt. Cybermalveillance.gouv.fr advises a different password for each service.
Blocking attempts makes the robot that guesses waste its time. Against the stolen password, the defence is two-factor authentication, which asks for a code from the phone on top of the password. OWASP names it as the main countermeasure to credential stuffing, and the guide to two-factor authentication sets it up.
What the blocking does
The module counts wrong passwords in two ways: per account, and per internet address, that is, the connection the attempts come from (a home router, an office network, a phone). Beyond a threshold, the account or the address is blocked for a time. The thresholds are set in the “Blocks and robots” tab, “Passwords tried at random” card.

| What is counted | Default threshold | Length of the block |
|---|---|---|
| Wrong passwords on a customer account | 5 errors | 15 minutes |
| Wrong passwords on a team account | 5 errors | 30 minutes |
| Errors on any account, from the same internet address | 20 errors | 1 hour |
Each threshold is chosen from three values (3, 5 or 10 errors for an account, 10, 20 or 50 for an address), and so is each duration. The CNIL’s recommendation on passwords lists this type of measure: making people wait after several failures, capping the number of attempts over a period, blocking the account after ten failures with a way to unblock it, or adding a captcha (“I’m not a robot”).
The per-address counter catches the robot that changes account on every attempt to escape the per-account counter. The OWASP guide also warns that a single, predictable limit is not enough, and that blocks must stay temporary. The module’s blocks lift themselves at the time shown.
What the blocked person reads
On the test shop, the first four wrong passwords get PrestaShop’s usual message, “Authentication failed.” On the fifth, the page shows “Too many attempts. For your security, please try again in 15 minutes.” The right password is then refused too, until the block ends, and the number of minutes shown goes down with each attempt.

The message never says whether the account exists. A robot therefore learns nothing about your customers, and a customer who made an honest mistake knows what to do.
The per-address block also kicked in during this test. After many wrong passwords in under an hour from the same computer (the default threshold is twenty), the shop answered “try again in 60 minutes”, whatever account was typed. Customers who share the same connection, in an office or on a mobile network, can therefore get in each other’s way. The Pro plan lets you declare addresses that are always allowed, your offices’ for example.
Help a blocked customer
The module’s dashboard flags each block in its “To do” list, and the “Blocks and robots” tab groups them under “Blocked right now”.

When the customer calls, the “See and help” button opens a window with three gestures: unblock them straight away (after a confirmation), send them a sign-in link, or sign out all their devices if someone else may be using their account.

On the test shop, after unblocking, the right password opened the account straight away, and the error counter went back to zero.
Watch the attacks go by
The “Activity” tab keeps a record of every sign-in, every block and every settings change. With the “Errors and blocks” filter, an attack reads at a glance: the wrong passwords follow one another to the minute, then the block falls.

The free version keeps this history for 90 days. The Pro plan, at €2 a month or €19.20 a year, keeps it for a year with an export, and adds email alerts, for example when a team member is blocked or robots arrive in large numbers. The robot trap stops earlier the attempts launched by a program that does not open the page, and the PrestaShop security guide brings the three protections together.
What to remember
- From 1.7.6 to 9.2, PrestaShop lets you try as many passwords as you like, in the back office and for customers alike.
- Easy Secure Login’s blocking is free. By default, it steps in after 5 errors on a customer account (15 minutes), 5 on a team account (30 minutes) and 20 from the same internet address (1 hour).
- The message stays the same whether the account exists or not.
- A blocked customer is unblocked in one click from the back office, after confirmation.
- Against a password stolen elsewhere, blocking is not enough: two-factor authentication is the answer.
The Easy Secure Login page gives the compatible versions (PrestaShop 1.7.6 to 9.x) and what each plan includes.



