diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 83a7dfb..45f9b58 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -34,4 +34,15 @@ class Kernel extends HttpKernel \Illuminate\View\Middleware\ShareErrorsFromSession::class, ] ]; + + /** + * The application's route middleware. + * + * These middleware may be assigned to groups or used individually. + * + * @var array + */ + protected $routeMiddleware = [ + 'auth' => \App\Http\Middleware\Authenticate::class + ]; }