By default WordPress allow users to login only using their username. But sometimes you may find remembering username little difficult, and remembering email ID easy.
In this tutorial I will show you how you can allow users to login using their email ID or Username on a WordPress website. Users can use either username or registered email ID to login.
Open functions.php file of your active theme in a text editor.