diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index e26dc9e1..2d5f02c8 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -136,5 +136,6 @@ protected function registerMiddleware($middleware) { $kernel = $this->app[Kernel::class]; $kernel->pushMiddleware($middleware); + $kernel->appendMiddlewareToGroup('web', $middleware); } }