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'], ], ];