From 1d3b4aa9f0680733bc1c9bc32e99d191f93c9efb Mon Sep 17 00:00:00 2001 From: IrinaZhadzinets Date: Mon, 18 Jul 2022 17:01:14 +0300 Subject: [PATCH] #3243 - Change reset confirmation function --- src/Model/Resolver/ResetPassword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Resolver/ResetPassword.php b/src/Model/Resolver/ResetPassword.php index 83f2456..ffb81e6 100644 --- a/src/Model/Resolver/ResetPassword.php +++ b/src/Model/Resolver/ResetPassword.php @@ -116,7 +116,7 @@ public function resolve( try { // Check if the user has not yet confirmed the account // and if not do this along with changing the password - $this->confirmByToken->execute($resetPasswordToken); + $this->confirmByToken->resetCustomerConfirmation((int)$customerId); $this->accountManagement->resetPassword($customerEmail, $resetPasswordToken, $password); $this->authentication->unlock($customerId);