Magento 1.9.24升级 - 重置密码问题

时间:2016-08-20 11:29:51

标签: magento magento-1.7 magento-1.9

我将magento商店升级到最新版本,之后我无法重置前端的客户密码,所以:

  1. 按下忘记密码按钮
  2. 填写我的电子邮件密码并按提交
  3. 在收到的电子邮件中,我按下" RESET PASSWORD"按钮,我被重定向到商店,我有这个错误:您的密码重置链接已过期。
  4. 我如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

I had the same, but a second error message appeared 
which said that a required field is not filled out. 
In general: when anything goes wrong when saving the customer, 
the said error message "Your password reset link has expired" shows up. 
So, pay attention to any additional error messages showing up or in your log files.

If you want to find out what's happening in detail, 
go to the file 
"app/code/core/Mage/Customer/controllers/AccountController.php" 
and modify the method resetPasswordPostAction temporarily. 
Inside the } catch (Exception $exception) { directive, add Mage::logException($e);. 
After you have seen the error again, 
you can find the real error message in the file var/log/exception.log.

参考链接:https://magento.stackexchange.com/questions/84605/magento-reset-password-link-not-working-after-upgrade

希望这会对你有所帮助!!