If I click “I forgot my password” when signing in, then fill in an email address and click Reset Password, the following message (
en.js.forgot_password.complete) is shown:
If an account matches that username or email address, you should receive an email with instructions on how to reset your password shortly.
There’s nothing wrong with this message, but it would help reduce cognitive load to replace “username or email address” with whichever one the user actually entered. It’s like replacing “5 user(s)” with “5 users”. It’s a low-priority change, but it would still be nice to do.
The software will always be able to distinguish whether the user typed a username or an email address, by the fact that email addresses always have an ‘@’ and usernames never do.