Skip to content

Password reset not working with username #2502

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

Closed
rihadavid opened this issue Aug 11, 2016 · 0 comments
Closed

Password reset not working with username #2502

rihadavid opened this issue Aug 11, 2016 · 0 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@rihadavid
Copy link
Contributor

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants