Skip to content

Commit d5b192f

Browse files
ENGCOM-3387: #18256: Reset password throws error since 2.2.6. #19026
- Merge Pull Request #19026 from p-bystritsky/magento2:ISSUE-18256 - Merged commits: 1. bc8d3d5
2 parents b831a20 + bc8d3d5 commit d5b192f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,8 @@ public function resetPassword($email, $resetToken, $newPassword)
681681
$customerSecure->setRpToken(null);
682682
$customerSecure->setRpTokenCreatedAt(null);
683683
$customerSecure->setPasswordHash($this->createPasswordHash($newPassword));
684-
$this->sessionManager->destroy();
685684
$this->destroyCustomerSessions($customer->getId());
685+
$this->sessionManager->destroy();
686686
$this->customerRepository->save($customer);
687687

688688
return true;

0 commit comments

Comments
 (0)