7

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

2

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

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

  • 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? – Sunny Rahevar Oct 31 '18 at 12:22
  • you haven't mention that this is for frontend, i thought you are trying to reset your admin side password – sheraz khan Oct 31 '18 at 12:35
  • So do you have the solution for the front end side? – Sunny Rahevar Oct 31 '18 at 12:45

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.