PrestaShop back-office 2FA: how to secure admin sign-in
A merchant guide to PrestaShop back-office 2FA: TOTP setup, mandatory profiles, trusted devices, lost-phone recovery and what a licence change does.
TOTP two-factor authentication with Google Authenticator, Authy or Microsoft, trusted devices and management per employee.
A 6-digit code from an app, in addition to the password, before any action of the back office while the module is active.
Scan the QR code, enter a first code: the set-up takes two minutes.
Google Authenticator, Microsoft Authenticator, Authy, 1Password, Bitwarden and any TOTP app.
Ten single-use codes per employee, renewable from the "My two-factor authentication" page.
Each employee manages their own 2FA; a super administrator resets or unlocks a colleague from the dashboard.
With a valid license, a stolen password is not enough: no page, form or AJAX call of the back office runs without the code.
A valid license is required for protection: without one, the module disables itself, keeps enrolments, codes and settings, and re-enables itself after activation or renewal.
Seven days of grace after the stored end date, a server check at most once an hour and seven days of tolerance for temporary answers: a paid license is not cut off by mistake.
Did you know that a password, no matter how complex, is no longer enough to guarantee the security of your online store? Faced with the rise of phishing and credential theft, access to your administration is the preferred target for hackers. Our Two-Factor Authentication (2FA) module adds a second step to every sign-in: the 6-digit code of an app on the employee's smartphone. With a valid license, a stolen password is no longer enough: no page, no form and no AJAX call runs in your back office without that code. Without a valid license, the module disables itself: no code is asked and the module pages are closed, while enrolments, recovery codes, trusted devices, settings and journal are kept.
The security of your turnover and the protection of your customer data are your priorities. The module relies on the open TOTP standard (Time-based One-Time Password, RFC 6238) supported by the common authenticator apps: the code changes every 30 seconds and works only once. You strengthen the protection of your store's personal data and build trust within your management team; the access journal helps you document your GDPR obligations.
A two-factor authentication that people bypass because it wears them out protects nobody. The module reduces the number of codes asked without weakening the check:


Two-factor authentication only applies with a valid license. If the license is missing, expired, suspended or revoked, or if the domain or signature is not recognized, the module disables itself on all shops: no code is asked at sign-in and the module pages are closed. Enrolments, recovery codes, trusted devices, settings and journal are kept, and the shop stays available: only the password then protects the back office. The license form remains reachable from Configure.
Activate or renew the license from that page, choosing the context that covers all shops in multistore: the module re-enables itself at once and, from the next page, the back office asks for the code again. A paid license is not cut off by mistake: the module keeps the protection for seven days after the stored end date, checks the server at most once an hour and tolerates seven days of temporary answers from the first failure. A definitive answer (expired, suspended or revoked license, unknown domain or signature) is applied immediately.
Unlike other complex solutions, our module was designed for demanding e-merchants who don't want to sacrifice their time. It offers a balance between high security and ease of use.
DISABLE_2FA file and the wepresta:2fa:disable console command keep you from a permanent lockout.You don't need to be a cybersecurity expert to protect your business. Installation takes just a few clicks directly from your module manager. Once activated, the module guides each employee step by step through the set-up of their mobile app: two minutes are enough. Pick the mandatory profiles, and your PrestaShop back-office benefits from professional-grade protection, ready to face modern web threats.


Compatible with PrestaShop 1.7.8, 8.0+ and 9.0+, with PHP 7.4 minimum (json, openssl and mbstring extensions). PrestaShop 1.7.7 and earlier versions are not supported. One archive fits all these versions. The interface is available in French, English, Spanish, Italian and Polish. On PrestaShop 1.7, the settings page points out three legacy stand-alone PrestaShop scripts (backup.php, pdf.php, get-file-admin.php) to delete: they answer to a signed-in employee without going through the check of the module.
Support is provided from your WePresta customer area or by email at mail@wepresta.shop, depending on the support option of your plan. Read the full documentation
See how we compare to the most common alternatives on the market.
| Feature | WePresta | Addons |
|---|---|---|
| payments Transparent pricing | check_circle | cancel |
| update Lifetime updates included | check_circle | cancel |
| support_agent Direct developer support | check_circle | cancel |
| verified PS 1.7, 8 & 9 compatible | check_circle | help_outline |
| code Standardized clean code | check_circle | cancel |
| storefront Multi-store ready | check_circle | help_outline |
| money_off No hidden renewal fees | check_circle | cancel |
Find answers to frequently asked questions about this module
Join +7 merchants using this module
5-minute installation · Full documentation included
check_circle
check_circle