Skip to content

customer-reset-password ​

The customer-reset-password template renders the page that sets a new password.

Location ​

The customer-reset-password template is located in the templates directory of the theme.

bash
└── theme
    ├── layout
    ├── templates
    │   ...
    │   ├── customer-reset-password.json
    │   ...
    ...

Usage ​

It renders at the link in the password reset email. Without this template the store shows its built-in page. An invalid or expired link redirects to /account/recover with an error.

Use the reset_customer_password form. The form takes the reset link from the page URL.

liquid
{% form 'reset_customer_password' %}
  {{ form.errors | default_errors }}
  <input type="password" name="password">
  <input type="password" name="password_confirmation">
  <button type="submit">Save password</button>
{% endform %}