What prevents email-or-username login?

Jumping in here, there have already been a couple threads on this forum from one or two people who have implemented this. You might find some useful information in them.

See:

1 Like