Ok, the solution is really simple: I made mistake and set the environment variable to "testing", which is reserved for unit testing. In this mode, filters are disabled by default, according to Laravel Docs.
So, I just changed it to "production" and everything works great.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community