Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{exp:member:reset_password_form} does not parse {errors}{/errors} tag when no errors #3441

Open
entipe opened this issue May 23, 2023 · 0 comments

Comments

@entipe
Copy link

entipe commented May 23, 2023

Description of the problem
When using

{exp:member:reset_password_form}
    {errors}
        <div>{error}</div>
    {/errors}
{/exp:member:reset_password_form}

(as described in the doc : https://docs.expressionengine.com/latest/member/reset-password.html#overview)

The {errors} & {error} tags are displayed "as such" (not parsed) in the HTML.

If the form has errors (by example: password and password_confirm do not match) the {errors} & {error} are correctly parsed.

How To Reproduce
Steps to reproduce the behavior:

  • Make a password recovery request to generate a password reset token
  • Write this in a template :
{exp:member:reset_password_form}
    {errors}
        <div>{error}</div>
    {/errors}
{/exp:member:reset_password_form}
  • Access template and ensure that URL has a password reset token in it to prevent error

Error Messages
No error message

Screenshots / Videos / Template Code
Capture du 2023-05-23 23-18-36

Environment Details:

  • Version: 7.2.17
  • PHP Version 8.1
  • MySQL Version 8
  • OS: Linux
  • Web Server: Apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants