我在重置密码时遇到问题,总是收到错误
Your password reset link has expired.
我尝试跟踪文件中的代码:
vendor/magento/module-customer/Model/AccountMangement.php
在方法中:
public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkToken)。
我做了print_r($_REQUEST);,但总是得到null虽然在已发送的电子邮件中的重置密码令牌中的URL总是正确的id和令牌,但当我尝试打印它时,它是空的。
发布于 2018-02-15 14:08:29
您应该检查需要转到类方法Magento\Customer\Controller\Account\CreatePassword::execute()的magento exception.So,并在catch语句中记录异常。
https://stackoverflow.com/questions/48790658
复制相似问题