How do you handle case sensitive on accounts?

Hey guys,
I’m developing a chat application where users type in there username, email and password. I want, that the user can type in his username “case sensitive”, but also want, that no other user can register his username with another variant.

What would be the best solution for that? I was thinking about an extra field (f.e. “profile.username_display”) while saving all “username” as .toLowerCase().

I think I would also do as you are suggesting, have a Display Name field and a username field with the .toLowerCase() method applied to the Display Name value.

You should take a look at the changes to accounts-password in the new Meteor 1.2 for handling case-insensitive usernames and emails. You can find the changes about halfway down here: https://quip.com/RXFlAk9Rc2xI