I built a CakePHP 3 website and used the prefix feature to set up an admin section. I got the login system working perfectly for the admin area, but now I’m running into a weird issue.
The public part of my site won’t load unless users are logged in first. Regular visitors who aren’t registered can’t see any of the frontend pages anymore. This seems backwards since the public pages should be accessible to everyone.
I think something in my authentication setup is affecting the wrong parts of the application. Has anyone dealt with this before? What settings should I check to fix this problem?