Browse Source

Add throttle middleware.

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

+ 1 - 0
app/Http/Kernel.php

@@ -29,5 +29,6 @@ class Kernel extends HttpKernel
         'auth' => \App\Http\Middleware\Authenticate::class,
         'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
         'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
+        'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
     ];
 }