Support the ongoing development of →
Laravel Vue.js Breeze
Last updated by @atif-bashir-1998 1 year ago.

The issue was with order in which the middlewares were being applied. I added $middlewarePriority to app/Http/Kernel.php and ordered the middlewares in a way that the SetLocale runs first and then HandleInertiaRequests. See the code snippet below:

protected $middlewarePriority = [

veggigit liked this reply

Solution selected by @atif-bashir-1998

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.