I have a user table with two type of users
( admin and normal )
the different is only the Type 1 for admin and 0 for the normal
what i need is to know is how can separate this two authentication
I dont need to get conflict between those users
for me now the admin can't sign in to the website as normal user until he sign-out from his account
and if i did some if else and he make a login he will automatically sign out from his admin account
and that what i dont need to happen
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire