9

When I update my password with the "Reset my password" page, it shows me this error: "Something went wrong while saving the new password.". Please check the screenshot. I have tried to NULL the rp_token value, but it is not working.

enter image description here

3
  • Having the same issue, check this report: github.com/magento/magento2/issues/18256
    – Noewt
    Nov 15, 2018 at 11:40
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review Nov 15, 2018 at 12:05
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Nov 15, 2018 at 12:08

2 Answers 2

6

This is an issue in Magento 2.2.6 (check here)

This patch fixes it.

In app/code/Magento/Customer/Model/AccountManagement.php, in function resetPassword:

BEFORE

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

AFTER

    $this->destroyCustomerSessions($customer->getId());
    $this->sessionManager->destroy();
    $this->customerRepository->save($customer);
1
  • 1
    greate solution thank you @Amanud working for me... Dec 28, 2019 at 6:43
0

First login to your server with SSH, then go to the folder root of site. Next, create a new admin user by using the command below:

php bin/magento admin:user:create --admin-user="demo" --admin-password="demo123" --admin-email="demo@gmail.com" --admin-firstname="Lof of" --admin-lastname="Coder"

Login to admin panel using the new account, then change the password of account that you lost

3
  • I am talking about the front end side.So why is should create the new admin?Do you think is it related to my issue? Oct 31, 2018 at 12:22
  • you haven't mention that this is for frontend, i thought you are trying to reset your admin side password Oct 31, 2018 at 12:35
  • So do you have the solution for the front end side? Oct 31, 2018 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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