enrico69/magento2-customer-activation

This package is abandoned and no longer maintained. No replacement package was suggested.

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

Installs: 7 975

Dependents: 0

Suggesters: 0

Security: 0

Stars: 33

Watchers: 7

Forks: 17

Open Issues: 8

Type:magento2-module

1.4.2 2018-05-01 00:22 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:09:12 UTC


README

PACKAGE IS ABANDONNED

Magento 2 Customer Account Validation

Status

Last version : 1.4.2 : compatibility for MG2.2.x + bug fixes

Do not use: 1.4.1

Description

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

Such feature could be required, for instance, in situation of B to B sales or private sales.

  • Magento 2.1.6 and before: not tested
  • Magento 2.1.7 EE OK
  • Magento 2.1.8 CE OK
  • Magento 2.2 CE OK

Installation and Update

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

composer require enrico69/magento2-customer-activation

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

php magento setup:upgrade
php magento indexer:reindex
php magento cache:clean

Configuration

In the back-office, got to Store/Configuration. In the Customers tab, select Customer Configuration. In the bottom, set Customer account need to be activated by an admin user to true.

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.
  • On the other side, the site owner will receive an email notifying it.
  • Until the account is confirmed by the admin, user which created an account AFTER the installation and the configuration of the module cannot connect.
  • To make an account active, the site owner has to go to the back office, edit the customer account an set this value to true: Account is active.