Skip to content

Commit

Permalink
Merge pull request #40 from IrinaZhadzinets/issue-3243
Browse files Browse the repository at this point in the history
#3243 - Change reset confirmation function
  • Loading branch information
carinadues authored Jul 27, 2022
2 parents 780458a + 1d3b4aa commit f154010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Resolver/ResetPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f154010

Please sign in to comment.