Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove Username & Replace with Email #4

Closed
thedead opened this issue Apr 1, 2014 · 6 comments
Closed

Remove Username & Replace with Email #4

thedead opened this issue Apr 1, 2014 · 6 comments
Labels
features - miscellaneous Generic feature request

Comments

@thedead
Copy link

thedead commented Apr 1, 2014

How would you suggest I remove the username and replace it with only the email? Is it possible to add this as a feature you can turn on/off?

@alexweissman
Copy link
Member

Hmm...it's possible, but not sure if it's advisable from a security standpoint:

http://lastwatchdog.com/zappos-hack-shows-risk-e-mail-account-username/
"Many use the same e-mail address and password to create financial transaction accounts across multiple websites. Cybercriminals know this and are expert at taking full advantage."

However, I can see the advantage from a usability standpoint. One simple way would be to allow users to log in with EITHER their username or email. Then it's just a matter of checking both fields when the login request is processed (in "process_login.php").

@thedead
Copy link
Author

thedead commented Apr 1, 2014

Interesting, however most people use the same usernames everywhere :)

I guess I could make the username auto-populate to the email address and have the login check for either as you mentioned.

@alexweissman
Copy link
Member

Yeah, that's actually a good point. It seems like a decision that should be up to the site administrators - so, let's make a "enable email log in" option in the site configuration. In that case, it's extra important that users specify a unique email address when their account is created.

Also, if this toggle is enabled, how should new account registration proceed (via register.php)? Still ask them to specify a username, or just automatically copy their email address to their username field?

alexweissman pushed a commit that referenced this issue Jun 1, 2014
@lilfade lilfade mentioned this issue Jun 4, 2014
@lilfade
Copy link
Contributor

lilfade commented Jun 5, 2014

This topic can probably be closed now since we added this feature.

@alexweissman
Copy link
Member

Done!

@MACscr
Copy link

MACscr commented Jul 8, 2015

I must be blind, where was this implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features - miscellaneous Generic feature request
Projects
None yet
Development

No branches or pull requests

4 participants