SUPEE 6788 和密码重置(空白页) [英] SUPEE 6788 and Password Reset (blank page)

查看:29
本文介绍了SUPEE 6788 和密码重置(空白页)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 SUPEE 6788.然后注意到当您单击电子邮件中的重置链接时,密码重置页面是空白的.任何想法如何使重置页面显示?以前重置页面使用的是这个/客户/帐户/重置密码/补丁更新后就是/customer/account/changeforgotten/它是空白的

I've installed SUPEE 6788. Then noticed that password reset page is blank when you click on the reset link in the email. Any ideas how to make the reset page to show up ? Previously reset page use to be this /customer/account/resetpassword/ After patch update it's /customer/account/changeforgotten/ and it's blank

补丁中的技术说明

APPSEC-1027,密码重置过程保护不足

APPSEC-1027, Insufficient Protection of Password Reset Process

此更改通过将 form_key 添加到客户注册页面 template/customer/form/register.phtml 以及对忘记密码页面 layout/customer.xml 和 template/customer/form/resetforgottenpassword.phtml 的类似更改来影响模板.如果您的商店包含自定义注册或忘记密码的模板,请确保也在那里添加此密钥..

This change affects templates by adding form_key to customer registration page template/customer/form/register.phtml and similar changes to password forgotten page layout/customer.xml and template/customer/form/resetforgottenpassword.phtml. If your store includes customized registration or password forgotten template, make sure to add this key there as well..

推荐答案

万一在 SUPEE-6788 补丁您遇到忘记密码问题",即页面为空白.

In case after the SUPEE-6788 patch you experience «Forgot password issue», in other words the page is blank.

您必须编辑customer.xml 文件并将客户布局customer_account_resetpassword 替换为customer_account_changeforgotten.

You have to edit customer.xml file and replace customer layout customer_account_resetpassword with customer_account_changeforgotten.

文件位置:app/design/frontend/theme/default/layout/customer.xml 主题名称可能因您而异.

File location: app/design/frontend/theme/default/layout/customer.xml the theme name might be different for you.

刷新缓存,一切顺利!

这篇关于SUPEE 6788 和密码重置(空白页)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆