LumaActivation, customer accounts tied to real email addresses

In short. Out of the box, PrestaShop accepts any email address at sign-up and logs the customer in straight away. LumaActivation adds a confirmation step. The customer receives an activation link, and until they click it, logging in to the account stays refused. You only keep accounts linked to addresses that exist and actually belong to their owner.

48 hlink validity by default
1click to activate the account
5languages included
0changes to the customer table

A single typo in an email address is enough for a customer to never receive their order confirmation, their tracking number or their password reset link. LumaActivation fixes this at the source, right at sign-up. Here is what the module brings to your store, for your customers and in your back office.



Why verify email addresses

PrestaShop does not check that the address entered at sign-up exists, or that it belongs to the person creating the account. This native behavior has concrete consequences for your store.

Issue How LumaActivation responds
Mistyped addresses, order and tracking emails never received The account stays inactive until the customer confirms the address
Bulk sign-ups by bots using fake addresses An account without a valid address cannot log in
Account created with someone else's email address Only the owner of the inbox can activate the account
More bounces and a damaged sender reputation Your database only holds confirmed addresses

Key point. The module leaves your existing customers alone. Their accounts are treated as verified from installation, so nobody gets locked out overnight.


The customer journey

For the customer, activation comes down to one click in an email. The module handles everything else.

Diagram of the LumaActivation customer journey in four steps

From sign-up to first login

  1. The customer creates an account. They land on a "Check your inbox" page and are not logged in.
  2. They receive an email with an "Activate my account" button.
  3. They click the link and a confirmation page appears.
  4. They can now log in as usual.

When the customer takes a detour

  • 🔒They try to log in before activating. Login is refused with a clear message and a "Resend the activation email" button.
  • ⏳Their link has expired or has already been used. An error page offers to send a new one.
  • 📭They cannot find the email. They request it again themselves, without contacting your support team.

Real-world example. A customer signs up with "julie.moreau@gmial.com". Without the module, her account works and she places an order, but no email ever reaches her. With LumaActivation, she never receives the link, realizes the address is wrong and creates her account again with the right one.

The information, confirmation and error pages inherit your theme layout. They show your header, footer and styles, on Classic as well as Hummingbird.


The link sent to the customer unlocks an account. It deserves the same care as a password reset link.

  • 🎲Random token generated from a cryptographic source
  • 🔐Never stored in plain text, the database only keeps its SHA-256 hash
  • 1️⃣Single use, the link becomes invalid once the account is activated
  • ⏱️Expiry set in hours, 48 h by default
  • ♻️Resending a new link automatically invalidates the previous one

Protection against abuse

The resend button is open to everyone, so it needed limits.

  • A minimum delay between two sends for the same account, 5 minutes by default, adjustable
  • An anti-burst window per browsing session, regardless of the targeted account
  • Neutral messages that never reveal whether an address is registered in your store

Under the hood. Input is read through Tools::getValue(), queries go through Db and DbQuery with pSQL escaping, and output is escaped in the Smarty templates. The configuration form is protected by a CSRF token.


Login truly blocked

Blocking the login form is not enough. PrestaShop logs the customer in right after sign-up, and other paths lead to an open session. The module works on two levels.

Control level What it covers
actionAuthentication hook Standard login with email and password
Safeguard on every front page Automatic login after sign-up, the "remember me" option and third-party login modules

The message shown to a blocked customer can be edited language by language in the module settings. A default version is already written in all five languages.


Tracking in the back office

PrestaShop's native "Enabled" column tells you whether you allow the account. It says nothing about the email confirmation. LumaActivation shows that information separately, right where you need it.

Mockup of the Email verified column and the Email verification panel in the PrestaShop back office

The customer list and the customer page panel

In the customer list

  • 📋"Email verified" column placed right after "Enabled", showing Yes or Pending
  • 🔎Yes / No filter to list every account still waiting for activation in seconds

On a customer page

An "Email verification" panel appears below the "General information" block. It shows the status, the date of the last send, the link expiry with an alert once it has expired, or the verification date.

  • ✉️Resend the activation email, with a new link and within the minimum delay
  • ✅Verify manually, for a customer who never received the email, with confirmation and a log entry

Good to know. Both actions are reserved for employees with edit rights on customers. They are protected by a module-specific anti-CSRF token.


Existing customers protected

Installing the module on a live store should not get in anyone's way. Three settings take care of that.

  • 👥Existing accounts verified at installation, by default. The migration is idempotent, so reinstalling creates no duplicates and overwrites no status.
  • 🛠️Accounts created in the back office by an administrator verified automatically, if you wish
  • 🔌Global switch to return to PrestaShop's native behavior without uninstalling the module

Emails and languages

The activation email goes out through PrestaShop's native mail system. It follows your store's SMTP settings, with no external service involved.

  • 📨 HTML and text formats provided for each language
  • 🖼️ Your store logo displayed in the email header
  • 🌍 The customer's language used for the content, not the back-office language
  • ↩️ Automatic fallback to English when a language has no template
  • ✏️ Subject, introduction text and blocked-login message editable language by language
Language Back office Front pages Activation email
🇫🇷 French ✔ ✔ ✔
🇬🇧 English ✔ ✔ ✔
🇩🇪 German ✔ ✔ ✔
🇮🇹 Italian ✔ ✔ ✔
🇪🇸 Spanish ✔ ✔ ✔

Translations rely on PrestaShop's native XLIFF system. For another language, go to International → Translations → Module translations.

⚠️ One email instead of two. PrestaShop also sends its own welcome email when an account is created. To make sure the customer only receives the activation email, turn off the native email in Advanced Parameters → Customers.


Multistore and uninstall

  • 🏬Multistore supported, with a verification status per store and links that point to the right store
  • 🗄️Dedicated table ps_lumaactivation, PrestaShop's customer table stays untouched
  • 🧹Complete uninstall that removes the table, every LUMAACTIVATION_* key, the hooks and the front controller
  • ⬆️Updates applied from the module manager, with no reinstall and no data loss

Installation and settings

Installation in 4 steps

  1. Open Modules → Module Manager → Upload a module.
  2. Upload the lumaactivation.zip archive.
  3. Click Configure on the module line.
  4. Check your settings and click Save.

Requirement. Your store must be able to send emails. Test sending in Advanced Parameters → E-mail before putting the module into service.

Upload not possible? Unzip the archive, send the lumaactivation/ folder to the modules/ directory over FTP, then install the module from the manager. The folder must keep exactly this name and contain lumaactivation.php at its root.

Settings and default values

Setting Default value
Enable email verification Yes
Link validity 48 hours
Minimum delay between two resends 5 minutes
Automatically verify accounts created in the back office Yes
Treat existing accounts as verified Yes
Subject, introduction text, blocked-login message Prefilled in 5 languages

Quick fixes

Symptom Solution
The customer does not receive the email Test Advanced Parameters → E-mail, check the logs and ask the customer to look in the spam folder
A test customer can no longer log in Expected until the address is verified. Resend the email or verify the account from the customer page
The activation link returns a 404 error Clear the cache in Advanced Parameters → Performance and check URL rewriting in Traffic & SEO
The configuration form looks broken Clear the PrestaShop cache, then reload the page
You want to pause verification Turn off Enable email verification, no need to uninstall

Technical sheet

Version 1.3.1
PrestaShop and PHP compatibility See the product page
Themes Classic and Hummingbird
Languages included FR, EN, DE, IT, ES
Multistore Yes
Core overrides None
Storage Dedicated table, customer table unchanged
Updates Period stated on the product page
Support 3 months included with purchase
Publisher PrestaLuma
License Commercial, one store per license

Ready to verify your new customer accounts?

LumaActivation filters out mistyped addresses and automated sign-ups right at registration. Your order emails reach their recipients, and you stay in control of every account from the back office.

Discover LumaActivation

Comments

Be the first to comment on this article.

Leave a comment

Your rating *

Related products

Loading...
Back to top