From c8577a59975f482c74412ea6d3dcb72cfd53e106 Mon Sep 17 00:00:00 2001 From: Oleg Baturin Date: Mon, 28 Oct 2024 13:52:42 +0700 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d653b8f..1e69ea5 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ use Yiisoft\Http\Method; return [ CsrfHeaderMiddleware::class => [ - 'withUnsafeMethods()' => [[Method::POST, Method::DELETE]], + 'withUnsafeMethods()' => [[Method::POST]], 'withHeaderName()' => ['X-CSRF-PROTECTION'], ], ];