Username Login Workflow

Hi. This may helps on how to enable users to login with username : Allow users to login with username or email