Closed ebeliejinfren closed 2 years ago
same happend to me, for unknow reason cant get user inside middleware called from the route, I test with some random route and middleware works but fail with LogViewer route conf
Ok, I already found my error, You just need add "web" middleware before your role middleware try this: ARCANEDEV_LOGVIEWER_MIDDLEWARE=web,role:admin
It works for me
Ok, I already found my error, You just need add "web" middleware before your role middleware try this: ARCANEDEV_LOGVIEWER_MIDDLEWARE=web,role:admin
It works for me
it works great, thanks a lot
Description:
Hi according docs when add my custom middleware it got error My Config in env :
ARCANEDEV_LOGVIEWER_MIDDLEWARE=role:admin
My Middleware:
also middelware added to routeMiddleware
Steps To Reproduce: