Skip to content

Password reset not working with username #2502

Closed
@rihadavid

Description

@rihadavid

When trying to reset password on User who has empty email field, i.e. only has the email in username field, it throws error No user found with email

Steps to reproduce

  1. Register new user using an email and password. E.g. set user.Username = "[email protected]" - do not set email field.
  2. When registered, request password reset

Expected Results

"This will attempt to match the given email with the user’s email or username field, and will send them a password reset email." as stated in docs.

Actual Outcome

Returns error: No user found with email [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions