News for hackers. Stuff that matters.
Re:Let’s talk about usernames by pluma on Monday February 12, 2018 @04:20AM (#16357508)
I ran into this problem as well and in the end added a separate field for the normalized (lowercase) form with a uniqueness check on that. Users would still be presented the original case and it would be preserved when sending e-mails but for identification/uniqueness purposes e-mails were considered case insensitive.
Re:Let’s talk about usernames by papito on Saturday February 17, 2018 @08:10AM (#16400516)
Right, something like "email_lc", and "username_lc". This would be your unique index.