update framework csrf configuration

https://github.com/symfony/symfony/pull/9252
Merge pull request #3114 from Tobion/patch-2

update framework csrf configuration