diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index b20e0b7544..e220c5ee7d 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -29,6 +29,7 @@ class Kernel extends HttpKernel { */ protected $routeMiddleware = [ 'auth' => 'App\Http\Middleware\Authenticate', + 'web' => 'App\Http\Middleware\Authenticate', 'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth', 'permissions.required' => 'App\Http\Middleware\PermissionsRequired', 'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',