From d7a6c3db3718308289e96f9cdd7b7cac4154f7fe Mon Sep 17 00:00:00 2001 From: Refringe Date: Thu, 20 Jun 2024 14:26:23 -0400 Subject: [PATCH] Restore Banhammer Middleware --- bootstrap/app.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index 6a51221..c2e983d 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -3,6 +3,7 @@ use Illuminate\Foundation\Application; use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; +use Mchev\Banhammer\Middleware\IPBanned; return Application::configure(basePath: dirname(__DIR__)) ->withRouting( @@ -12,7 +13,7 @@ return Application::configure(basePath: dirname(__DIR__)) health: '/up', ) ->withMiddleware(function (Middleware $middleware) { - //$middleware->append(IPBanned::class); + $middleware->append(IPBanned::class); }) ->withExceptions(function (Exceptions $exceptions) { //