当我点击重置密码链接url时,我有一个问题:
我在一个magento平台上有四个网站: domain.com,domain.com/us/ domain.com/it/ domain.com/ca/
在我的主站点(domain.com)上,当我单击忘记密码时,我会收到带有重置密码链接的电子邮件。当我点击reset password链接时,我被成功地重定向到reset password url。
但是,当我对我的其他网站如domain.com/us遵循相同的过程时,我会收到忘记密码的电子邮件,但当我点击重置密码链接时,我会重定向到忘记密码链接(domain.com/us/customer/account/forgotpassword/)而不是重置密码链接,并且我会收到一条错误消息,指出“您的密码重置链接已过期”。
发布于 2016-08-30 17:24:13
更新主题的app/design/frontend/your_theme_package/your_theme_name/layout/customer.xml文件,如下所示( your _ theme _package/ your _theme_name是主题的名称):
* Find <customer_account_resetpassword translate="label"> replaced by <customer_account_changeforgotten translate="label">
<label>Reset a Password</label>
<reference name="content">
* find <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
replaced by <block type="customer/account_changeforgotten" name="changeForgottenPassword" template="customer/form/resetforgottenpassword.phtml"/>
</reference>
* find </customer_account_resetpassword>
replaced </customer_account_changeforgotten>https://stackoverflow.com/questions/26905892
复制相似问题