Browse Source

fix namespace

Taylor Otwell 8 years ago
parent
commit
19f8537829
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Kernel.php

+ 1 - 1
app/Http/Kernel.php

@@ -46,7 +46,7 @@ class Kernel extends HttpKernel
      * @var array
      */
     protected $routeMiddleware = [
-        'auth' => \Illuminate\Http\Middleware\Authenticate::class,
+        'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
         'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
         'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
         'can' => \Illuminate\Foundation\Http\Middleware\Authorize::class,