From ad615b48998f90010f850ba7b7c1b394ba608425 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 17 Jun 2020 21:51:51 -0400 Subject: [PATCH] Expand CakePHP 4.1 standard Add a newly deprecation method. --- config/set/cakephp/cakephp41.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/set/cakephp/cakephp41.yml b/config/set/cakephp/cakephp41.yml index 9ae1729df28..fe9e5114f62 100644 --- a/config/set/cakephp/cakephp41.yml +++ b/config/set/cakephp/cakephp41.yml @@ -16,6 +16,8 @@ services: and_: 'and' 'Cake\View\Form\ContextInterface': primaryKey: 'getPrimaryKey' + 'Cake\Http\Middleware\CsrfProtectionMiddleware': + whitelistCallback: 'skipCheckCallback' Rector\CakePHP\Rector\MethodCall\ModalToGetSetRector: $methodNamesByTypes: