In order to secure the login access, I am planning to remove email address as part of the input field when resetting password. Since active/current users have email, what I intend to do is that when a user reset/forgets his/her password, username will be required (in lieu of email). App will call on the backend the username’s (user) registered email but this will not be displayed.
How should I best write the expression in email to reset?
Though this function, I intend while the user is not yet login. So instead of entering email as a way to reset the password, I am looking at the username to call on the backend the email. So technically, the user is not logged in.