Change Login Criteria from Username to email

I was wondering if its possible to require users to login using their email adress in place of username. Where can I alter the code to change this? any help will be appreciated. thanks

In OJS 2.4.x, replacing the username with the email would be a fairly involved task. You would essentially need to search the entire codebase for one or the other and swap and/or eliminate them.

If you just wanted to enforce that the username was formatted like an email, and still required the entry of a separate (but potentially the same) email, you could do that right on the registration form by changing the validators:

The templates involved in the display of the user profile include: