Answer the question
In order to leave comments, you need to log in
How to password-protect only the admin panel?
I'm just learning laravel and php in general. Little by little I'm trying to learn. I work on the video, I set the possibility of authorization through ui: auth. Now, wherever I go on the site, it constantly throws out a password entry window, even if I don’t want to go to the admin panel, but, let’s say, to the main one. Please help me figure out in which direction to dig, and how can I only password-protect the admin panel so that it only asks for a password if the user tries to log in via /admin?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question