I created a simple module that allows you to log in using your e-mail address rather than username:
A couple of thoughts:
This should be a built-in option in the login module, rather than an add-on - most sites have taught users to log in with their e-mail address. (I tend to forget what my username is - on most sites I don't have one!)
The Session and ProcessLogin APIs need to be more extensible - for instance, to allow modifications to the form or fi
I want to share what I found working on my custom front-end email login:
Even if no user were found for the submit email, Processwire should check for login because the login throttle api will be triggered and it will prevent multiple login tries. If the $session->login() is only called when the email owner is found, then the login throttle api will not be triggered and that tells requesters that a user with the email they try to login exists or not in your DB.