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

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

问题描述

我已经安装了SUPEE6788.然后,当您单击电子邮件中的重置链接时,密码重置页面为空白.有什么想法可以使重置页面显示出来吗? 以前重置页面使用的是这个 /customer/account/resetpassword/ 补丁更新后 /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以及对密码忘记页面布局/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_changeforgotten替换客户布局customer_account_resetpassword.

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.

刷新缓存,一切都很好!

Refresh your cache, and all good!

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

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