13

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

Tech description from the Patch

APPSEC-1027, Insufficient Protection of Password Reset Process

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..

5
  • Did you check the php error log, exception.log and system.log?
    – Neodan
    Oct 30, 2015 at 19:44
  • never heard of changeforgotten. does it happen in the base theme? Oct 30, 2015 at 19:58
  • Changeforgotten located in app/code/core/Mage/Customer/Block/Account/Changeforgotten.php
    – Icon
    Oct 30, 2015 at 19:59
  • "reset link in the email" -- it's not clear what you mean by this, which makes answering this question difficult. Oct 31, 2015 at 1:30
  • 1
    I have found a solutions, basically yoy need to a few lines in customer.xml atwix.com/magento/security-patch-supee-6788-installation-issues
    – Icon
    Oct 31, 2015 at 3:34

4 Answers 4

45

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

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

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

Refresh your cache, and all good!

7
  • 1
    Totally worked for me. Indeed it has changed the name of the page. Nov 9, 2015 at 8:34
  • 11
    I also had to change the block type: <block type="customer/account_resetpassword" to <block type="customer/account_changeforgotten" Dec 23, 2015 at 14:40
  • 1
    Good job, this answer should be accepted. the customer.xml in the base-template actually is changed with the update, so this is only needed if you have a custom one.
    – rob_st
    Mar 11, 2016 at 9:28
  • 1
    there are multiple customer.xml - if you published the directory structure more people could get help app/design/frontend/theme/default/layout/customer.xml
    – Jon
    Dec 1, 2016 at 16:46
  • 2
    Great this made my day ;)
    – Umair Rana
    May 1, 2017 at 20:36
1

Update your app/design/frontend/%custom%/%theme%/layout/customer.xml layout file with these changes:

enter image description here

source: gist.github.com/Nolwennig

1
  • ohhhhhhhh thanks, it would have take me a lot of time to find the origin of the problem!
    – beluga
    May 15, 2019 at 16:11
1
Find

<customer_account_resetpassword translate="label">
    <label>Reset a Password</label>
    <remove name="right"/>
    <remove name="left"/>

    <reference name="head">
        <action method="setTitle" translate="title" module="customer">
            <title>Reset a Password</title>
        </action>
    </reference>
    <reference name="root">
        <action method="setTemplate">
            <template>page/1column.phtml</template>
        </action>
        <action method="setHeaderTitle" translate="title" module="customer">
            <title>Reset a Password</title>
        </action>
    </reference>
    <reference name="content">
        <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
    </reference>
</customer_account_resetpassword>

And Paste Below Code

<customer_account_changeforgotten translate="label">
    <label>Reset a Password</label>
    <remove name="right"/>
    <remove name="left"/>

    <reference name="head">
        <action method="setTitle" translate="title" module="customer">
            <title>Reset a Password</title>
        </action>
    </reference>
    <reference name="root">
        <action method="setTemplate">
            <template>page/1column.phtml</template>
        </action>
        <action method="setHeaderTitle" translate="title" module="customer">
            <title>Reset a Password</title>
        </action>
    </reference>
    <reference name="content">
        <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
    </reference>
</customer_account_changeforgotten>
0

You have to edit customer.xml file and replace

customer_account_resetpassword translate="label" to customer_account_changeforgotten translate="label"

and block type="customer/account_resetpassword" to block type="customer/account_changeforgotten"

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

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.