Hi, I created some Admin Area as a separate project to my previous project.
Now in Admin area, all methods in all controller shouldn’t be accessable without login. Just only the login method should be without Authorization check.
Do I have to check in each methode? Or is there some general way?
After the Authentication Plugin has been setup (Middleware added and Component loaded) it will by default require all actions to be logged in as that is the best practice.
What you need to do is add your “not logged in actions” to be called without a user.