Password strings

I have a starter that does pretty much everything i need, but it treats lowercase usernames and uppercase as different and allows them both, which will create problems for users. Ie it will let some have ionic as a name even if Ionic already exists.

I’ve tried searching but i can’t find the answer (i’m a bit of newbie i’ll confess).

What’s the real question in here :slight_smile: ? Do you want to only allow lowercase usernames?

If that’s the case:

  • convert all username input toLowerCase() on Input
  • don’t allow capitalized usernames on your server ( if you have control over that)

Thanks luukschoen. It wasn’t anything interesting i’m afraid, i was just writing two things at once and got confused!

Thanks for the advice. We’re using firebase so i’ll check that out.