Why isn't the user email displaying on my reset password page?

Hello,

I’m facing issue with reset password liquid page.

here we have to display the email of user who is requesting to reset there password

It was working good few days ago.

here is my code:

{%- form ‘reset_customer_password’ -%}

Enter a new password for {{email}}

{%- include 'form-errors-custom' -%}

Password
<input type=“password” value=“” name=“customer[password]” id=“reset_password” {% if form.errors contains “password” %} class=“error” {% endif %}>

Password Confirmation
<input type=“password” value=“” name=“customer[password_confirmation]” id=“password_confirmation” {% if form.errors contains “password_confirmation” %} class=“error”{% endif %}>

{%- endform -%}

Steps to get the issue:

  1. When user want to reset there password he use this link
    https://www.sumpalarm.com/account/login and click on Forgot or Need to reset your password?
    and enter email to get the reset password link.

  2. An email with reset password link sent to the entered email.

  3. Once user click on the link he redirects to reset password page.
    where user have to enter password and confirm password.
    On this page we are displaying email on with text “Enter a new password for”
    Now it seems email not showing on the page, I used all objects to get email on the reset password page.

Note: This "email " which we are displaying on the reset password page is used to reset password on backend for the user.

Seeing the same issue on one of my stores. Might be time to check those 458 issues they have outstanding on Github :wink:

I’m thinking reset_password.liquid might need replacing with the new Dawn version to fix this.

However, this page says it’s now called reset_password.json, but there’s no .json files in Dawn’s templates/customer folder, its all liquid!!

Hmmm…

:wink: