Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow login with e-mail address #28

Open
3rd-Eden opened this issue May 7, 2013 · 0 comments
Open

Allow login with e-mail address #28

3rd-Eden opened this issue May 7, 2013 · 0 comments

Comments

@3rd-Eden
Copy link
Member

3rd-Eden commented May 7, 2013

I've seen a lot of failed requests in our logs where users are trying to login with their e-mail account instead of using their username. It could be that they have forgotten their username or that they are just accustomed to logging in using an e-mail address as that's something that a lot of sites allow.

To decrease these login failures we should just support e-mail based logging in. There are 2 easy approaches in to fixing this:

  1. Use a regexp to check if the supplied username is a valid e-mail address and fetch the user resource based on e-mail adress.
  2. Just fallback to checking the e-mail address if account isn't found.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant