PHPackages                             imi/magento2-customer-activation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. imi/magento2-customer-activation

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

imi/magento2-customer-activation
================================

This module is designed for Magento 2. It add the possibility for the site owner to manually validate customer accounts at registration.

v2.2.0(3mo ago)26.0k↓50%[1 PRs](https://github.com/iMi-digital/magento2-customer-activation/pulls)MITPHPPHP ^7.4|^8.0CI failing

Since Aug 14Pushed 3mo agoCompare

[ Source](https://github.com/iMi-digital/magento2-customer-activation)[ Packagist](https://packagist.org/packages/imi/magento2-customer-activation)[ RSS](/packages/imi-magento2-customer-activation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (18)Used By (0)

Magento 2 Customer Account Validation
=====================================

[](#magento-2-customer-account-validation)

[![Integration Tests](https://github.com/iMi-digital/magento2-customer-activation/actions/workflows/integration.yml/badge.svg)](https://github.com/iMi-digital/magento2-customer-activation/actions/workflows/integration.yml/badge.svg)

This module is designed to add the possibility for the site owner to manually validate customer accounts at registration. This is useful in cases of B2B or private shops.

Fork
----

[](#fork)

Because the original module is no longer maintained, this module is a hard fork of [enrico69/magento2-customer-activation](https://github.com/enrico69/magento2-customer-activation/). We aim to maintain it for php 7.4 compatibility and Magento 2.4+ and add functionality.

Prerequesites
-------------

[](#prerequesites)

This module requires php 7.4 and at least Magento 2.4.

Installation and Update
-----------------------

[](#installation-and-update)

You can manually download the archive and put its content in the *app/code/IMI/Magento2CustomerActivation* directory or, the simplest (and recommended) way, install it via composer:

```
composer require imi/magento2-customer-activation

```

Whatever method you choosed, activate the module and then run the following command:

```
bin/magento setup:upgrade
bin/magento indexer:reindex
bin/magento cache:clean

```

Configuration
-------------

[](#configuration)

In the admin panel, got to `Stores > Configuration > Customers > Customer Configuration`. Open the `Create New Account Options` panel and set *Customer account need to be activated by an admin user* to true for the stores where you want to enable the module. You may set your own email templates.

Email Templates
---------------

[](#email-templates)

### Account Activated Confirmation Notification

[](#account-activated-confirmation-notification)

Sent to the customer upon activation. The following variables are provided:

- email: Customer email address
- prefix: Customer prefix
- firstname: Customer firstname
- lastname: Customer lastname

### Admin Notification

[](#admin-notification)

Send to the "Sales Representative" after registration/email confirmation. The following variables are provided:

- customer: The customer object
- customer\_admin\_url: Link to the customer in adminhtml
- formattedShippingAddress: The address set upon registration (if available/configured)

How does it work?
-----------------

[](#how-does-it-work)

After the activation of the module and once you have set the configuration to require account activation by an admin user, the following process will be followed.

- At the customer registration, the new customer will be logged-out and a message will notify it that its account is currently waiting for validation.
- The site owner will receive an email notifying them about a new customer waiting for activation.
- Until the account is activated by the admin, customers cannot log in.
- Customers created before the installation are still able to log in and use the site as usual.
- To make an account active, the site owner has to go to the admin panel, edit the customer account and set this value to true: *Account is active*.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance80

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 82.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~221 days

Recently: every ~709 days

Total

15

Last Release

103d ago

Major Versions

v1.5.0 → v2.0.02022-02-24

PHP version history (3 changes)1.0.0PHP &gt;=5.6.0

v1.5.0PHP ^7.4

v2.1.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e83b21f6b852a0a527372174187cc61c74cbbfbdb34df74816ef77736224fff?d=identicon)[imi](/maintainers/imi)

---

Top Contributors

[![ecourtial](https://avatars.githubusercontent.com/u/57905107?v=4)](https://github.com/ecourtial "ecourtial (37 commits)")[![DanieliMi](https://avatars.githubusercontent.com/u/31039652?v=4)](https://github.com/DanieliMi "DanieliMi (4 commits)")[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (2 commits)")[![sebastianwagner](https://avatars.githubusercontent.com/u/1701745?v=4)](https://github.com/sebastianwagner "sebastianwagner (2 commits)")

---

Tags

hacktoberfestmagentoaccountmagento2customeractivation

### Embed Badge

![Health badge](/badges/imi-magento2-customer-activation/health.svg)

```
[![Health](https://phpackages.com/badges/imi-magento2-customer-activation/health.svg)](https://phpackages.com/packages/imi-magento2-customer-activation)
```

###  Alternatives

[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2282.7M6](/packages/markshust-magento2-module-disabletwofactorauth)[sandstorm/usermanagement

Neos and Flow package for user management, login/logout, password reset and user activation

3828.4k](/packages/sandstorm-usermanagement)[opengento/module-saleable

This extension allows to set if a product is saleable and can show its price by scope and customer group.

136.9k](/packages/opengento-module-saleable)[sbodak/magento2-b2b-disable-customer-registration

This extension allows you to disable customer registration in your Magento 2.

1515.6k](/packages/sbodak-magento2-b2b-disable-customer-registration)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
