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
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