I would like to make make an app for 3 kinds of user: Admin , A & B
I made already a condition that make me the admin “if user’s email = (my mail adress)” but if i want to give someone else the admin status i guess there is a better way.
But the main probleme is for the users A & B.
I made 4 different buttons: log in as A sign up as A Log in as B Sign up as B
When i tried the apps i could log in as B with the mail and password of a A user.
And that’s not something I want.
Is anyone can help me on how i should make the conditions etc…
Thanks for the help