Customer registration without double opt in

At the moment it is not possible to have a customer registration without a double opt in.

In our project we patched the customer therefore, but IMO this is a feature which is useful for other too.

We replaced with

if ($this->customerConfig->isDoubleOptInActive()) {
    $customerEntity->setRegistered(new \DateTime());



if ($this->customerConfig->isDoubleOptInActive() && $customerEntity->getPassword() !== null) {
  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 15 2018
  • In review
  • Attach files