Skip to content

Reset password form doesn't work with inline-errors #4879

@GDmac

Description

@GDmac

The member:reset_password_form doesn't work with inline_errors.

Member_auth() does do a check for determine_error_return()
and then amends it locally with id=token,

But if there are indeed any errors then it does a show_form_error()
which itself does a determine_error_return()
and doesn't do any check for id=token
and so it returns the error_return without id=token
resulting in a token not present error

(Test issue: if you do enter a password and a confirm password, it will not show the error)

(Edit: addendum: also the determine_error_return() does
not do a correct parse for template_group/template,
it doesn't respect site index file e.g. site_url/custom_index.php/group/template,
it translates group/template to site_url/group/template without custom_index.php)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: UnconfirmedBug report that is not yet confirmed and/or is not reproducible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions