0

I have reset my password.

It shows as Password updated. But still i can able to login with old password. Newly updated password is not working.

My magento version is 2.2.6.

Note: I am using Store session In DB instead of files.

Can anyone look into this issue please.

  • able to login with new and old both the password? getting any error or exception in log? – Amit Naraniwal Feb 19 at 11:28
  • Only able to login with old password. new password not updated – jafar pinjar Feb 19 at 11:31
0

Try to reindex and then check.

php bin/magento indexer:reindex

It should work then !!!

  • hi @Yash shaw, Yes tried it, but not updated.. – jafar pinjar Feb 19 at 11:26
  • Was your indexing done successfully or you see any issues in cli ? i mean if something breaks the process, some custom extension ? – Yash Shah Feb 19 at 11:29
  • reindex done successfully – jafar pinjar Feb 19 at 11:32
1

Look's like default Magento bug.

Check the GIT url : https://github.com/magento/magento2/issues/18256

A temporary fix is to modify the vendor\magento\module-customer\Model\AccountManagement.php. Go to function resetPassword() and Replace following lines (around line # 673):

$this->sessionManager->destroy();
$this->destroyCustomerSessions($customer->getId());

with following lines

  try {
            $this->sessionManager->destroy();
            $this->destroyCustomerSessions($customer->getId());
     } catch (\Exception $e) {}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.