I have a problem with customer password reset in Magento 2.2.6
After pressing forgot password it send me an email " Set a New Password link "

but when i am trying to set new password i got a message

Something went wrong while saving the new password.

Here a Pic of error message

Also i checked


But i dont have any problem with this all kind of emails setting are correct..
Any suggest?

  • Can you check the log files? – Sukumar Gorai Oct 8 '18 at 14:24
  • as i said i've already checked but no errors there :/ – darkattack Oct 8 '18 at 14:30
  • Please check my answer and let me know if issue not solve. – Rohan Hapani Oct 8 '18 at 14:48
  • did you add custom module? try to disable one by one your custom module and try again, maybe something in your custom module did it (custom module that works for customer module) – Edwin Widhiyanto Oct 9 '18 at 2:59

This is a bug in Magento 2.2.6 and Magento 2.2.7. Go to the file vendor/magento/module-customer/Model/AccountManagement.php and patch it like this:

       Fix M2.2.7 - MAGETWO-96079: Cannot update password using received link

diff --git a/Model/AccountManagement.php b/Model/AccountManagement.php
index 8f25651..b5b1905 100644
--- a/Model/AccountManagement.php
+++ b/Model/AccountManagement.php
@@ -670,8 +670,8 @@ class AccountManagement implements AccountManagementInterface
-        $this->sessionManager->destroy();
+        $this->sessionManager->destroy();

         return true;

More info:

https://github.com/magento/magento2/commit/7443dc3194040e9ce2f7baf902470deb975b97c6 https://github.com/magento/magento2/issues/18256


Try to execute this query in your database. It's just for temporary solution :

UPDATE `customer_entity`
SET `password_hash` = CONCAT(SHA2('xxxxxxxxYOURPASSWORD', 256), ':xxxxxxxx:1')
WHERE `entity_id` = add_your_customer_id_here;

Where The xxxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file

return array (
  'crypt' => 
  array (
    'key' => '5bb9352691e3aea2ae49ae5229f5c83a', //cryptographic salt

I am experiencing the same issue. You can only reset the password for one customer, only once from one IP. Its really frustrating. I tried all sort of option in Magento 2 Admin but nothing works. This is something to do with "password_reset_request_event" table and password reset functionality.

Any solution for this issue


  • Hi All, I further investigated this issue and found if there are any error in cron_schedule table the cron will not run correctly and this option will not work. So make sure there are no errors in cron job and also there are no extension causing cron to run properly. In my case there was a buggy extension I disabled the extension and password reset started working. – Asadyar Oct 24 '18 at 2:36
  • Did you try switching password options in customer configuration: By IP and Email to By Email? I noticed I could only change the password once for ip and that is what fixed it! – Meow Meow I'm a Cow Jan 11 at 11:24

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.