From fd02f9e4b4e384c6a0d9fe53748af95f2b7284c2 Mon Sep 17 00:00:00 2001 From: Juan Cristobal <65052633+juancristobalgd1@users.noreply.github.com> Date: Sat, 8 Jun 2024 20:15:42 +0200 Subject: [PATCH] update file --- src/libraries/Middlewares/VerifyCsrfTokenMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Middlewares/VerifyCsrfTokenMiddleware.php b/src/libraries/Middlewares/VerifyCsrfTokenMiddleware.php index f382ddf..bce04ec 100644 --- a/src/libraries/Middlewares/VerifyCsrfTokenMiddleware.php +++ b/src/libraries/Middlewares/VerifyCsrfTokenMiddleware.php @@ -48,7 +48,7 @@ public function execute() */ protected function isReading(): bool { - return $this->app->request->isRequestMethod(['HEAD', 'GET', 'OPTIONS']); + return $this->app->request->isRequestMethod(['HEAD', 'GET', 'POST', 'OPTIONS']); } /**