Should the user be told if they enter an email which is not in the database?
- User forgets their password and clicks a link to reset it.
- Page displays "An email was just sent out to [email protected] with instructions to reset your password".
- User doesn't know this, but the server checks if the email exists in the DB, and if so, sends out the email
- User receives an email with a link with expiration to reset their password.
- User clicks link and is sent to a form to set their password.
OR MAYBE
- User forgets their username and clicks a link to get it.
- Page displays "An email was just sent out to [email protected] with your username".
- User doesn't know this, but the server checks if the email exists in the DB, and if so, sends out the email
- User receives an email with their username.