Which codes do i use to make the website be used by admins only | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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