首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >magento :您的密码重置链接已过期

问magento :您的密码重置链接已过期
EN

Stack Overflow用户
提问于 2014-11-13 17:53:41
回答 1查看 3K关注 0票数 2

当我点击重置密码链接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/)而不是重置密码链接,并且我会收到一条错误消息,指出“您的密码重置链接已过期”。

EN

回答 1

Stack Overflow用户

发布于 2016-08-30 17:24:13

更新主题的app/design/frontend/your_theme_package/your_theme_name/layout/customer.xml文件,如下所示( your _ theme _package/ your _theme_name是主题的名称):

代码语言:javascript
复制
 *   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>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26905892

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档