fixed #15374: load TrustProxies middleware in Kernel.php

This commit is contained in:
setpill 2024-08-22 19:45:53 +02:00
parent 833dace2b4
commit 1d7853cbfe

View file

@ -14,6 +14,7 @@ class Kernel extends HttpKernel
* @var array
*/
protected $middleware = [
\App\Http\Middleware\TrustProxies::class,
\App\Http\Middleware\NoSessionStore::class,
\Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Session\Middleware\StartSession::class,