Username/Nickname Same Control

Hi guys,

As you know, we create email and password in firebase, but we leave the username text field. How can I set up a structure that will prevent the next player who registers from receiving the same username? I couldn’t get over it. help please :frowning: I use firebase real database and save the data here.Is there an easy way to compare nicknames?

Thanks in advance,