How can i allow users to login to my wordpress site using both email id and username? Currently it is allowing only username.
Here you got a small plugin. If you don't (or can't) use a plugin, this should - in theory - as well work from within your
Hope this helps.