Skip to content

Commit ce3e108

Browse files
committed
MC-17648: Registration email confirmation
1 parent a266dea commit ce3e108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Customer/Model/AccountManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ protected function sendEmailConfirmation(CustomerInterface $customer, $redirectU
977977
$templateType = self::NEW_ACCOUNT_EMAIL_REGISTERED_NO_PASSWORD;
978978
}
979979
$this->getEmailNotification()->newAccount($customer, $templateType, $redirectUrl, $customer->getStoreId());
980+
$customer->setConfirmation(null);
980981
} catch (MailException $e) {
981982
// If we are not able to send a new account email, this should be ignored
982983
$this->logger->critical($e);

0 commit comments

Comments
 (0)