Hacker News new | ask | show | jobs
by felisml 3275 days ago
That's what database-level user IDs are for.

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

1 comments

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.
If you're allowing emails as a credential reset mechanism, you've already got that problem.