Skip to content

Commit f93383a

Browse files
setpillFlorentDotMe
authored andcommitted
fixed grokability#15374: load TrustProxies middleware in Kernel.php
1 parent dd629c4 commit f93383a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Kernel.php

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Kernel extends HttpKernel
1414
* @var array
1515
*/
1616
protected $middleware = [
17+
\App\Http\Middleware\TrustProxies::class,
1718
\App\Http\Middleware\NoSessionStore::class,
1819
\Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance::class,
1920
\Illuminate\Session\Middleware\StartSession::class,

0 commit comments

Comments
 (0)