Browse Source

Merge pull request #3343 from TheShiftExchange/patch-2

[5.1] Add new middleware
Graham Campbell 9 years ago
parent
commit
2040080fab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Kernel.php

+ 1 - 0
app/Http/Kernel.php

@@ -11,6 +11,7 @@ class Kernel extends HttpKernel
      */
     protected $middleware = [
         'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
+        'Illuminate\Foundation\Http\Middleware\VerifyPostSize',
         'Illuminate\Cookie\Middleware\EncryptCookies',
         'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
         'Illuminate\Session\Middleware\StartSession',