News for hackers. Stuff that matters.
Re:Ask HN: Should a login be a Username or an Email? by timthorn on Saturday July 01, 2017 @07:04PM (#14679598)
An email address is not an immutable property of a user so I find a username is a better way to identify a user.
Re:Ask HN: Should a login be a Username or an Email? by felisml on Saturday July 01, 2017 @07:59PM (#14679843)
That's what database-level user IDs are for.

Don't push your technical requirements onto the user when it's not needed.

Re:Ask HN: Should a login be a Username or an Email? by jt2190 on Saturday July 01, 2017 @09:37PM (#14680290)
If someone uses their work email as a username, they loose their ID if they leave the job. Even worse, the employer may give the same email address to someone else.
Re:Ask HN: Should a login be a Username or an Email? by felisml on Sunday July 02, 2017 @12:49AM (#14680961)
If you're allowing emails as a credential reset mechanism, you've already got that problem.
Re:Ask HN: Should a login be a Username or an Email? by CiaranMcNulty on Sunday July 02, 2017 @04:19AM (#14681487)
Neither is username; people have very good reasons to want to change their names