From b31fc46a1f1d8c773b294777b460be27b8e68d60 Mon Sep 17 00:00:00 2001 From: b1ek Date: Thu, 29 Aug 2024 18:55:18 +1000 Subject: [PATCH] fix: ignore csrf --- bootstrap/app.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index 7b162da..11cb734 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -11,7 +11,8 @@ return Application::configure(basePath: dirname(__DIR__)) health: '/up', ) ->withMiddleware(function (Middleware $middleware) { - // + // https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Axillary_Crutches.jpg/90px-Axillary_Crutches.jpg + $middleware->validateCsrfTokens([ '*' ]); }) ->withExceptions(function (Exceptions $exceptions) { //