You should be using the auth filter in your routes to protect access to restricted areas.
Exactly. It's the routes that should be protected - not the methods that they invoke.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community