News for hackers. Stuff that matters.
Re:Ask HN: Should a login be a Username or an Email? by StavrosK on Sunday July 02, 2017 @04:34AM (#14681528)
Funny that you should ask, yesterday I wanted a fast and simple way to do logins for a side project I'm working on and ended up writing a quick Django library that does passwordless authentication over email:

https://github.com/skorokithakis/django-tokenauth

I would say email is significantly better than a username, as long as the user can change their address. An email is just much easier to remember. Of course, if your identifiers are ever going to be public, you need a username.

There are no comments on this comment yet.