Which codes do i use to make the website be used by admins only | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Which codes do i use to make the website be used by admins only

Security

13th May 2019, 12:37 AM
Inno Criss
Inno Criss - avatar
1 Réponse
+ 3
The simple way is to create a login form for the default page then check if the user is the admin in every other page .. Hope this helps you
13th May 2019, 1:42 AM
Guezi Louay
Guezi Louay - avatar