8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6fa4a3 + 903f120 commit a91b5a5Copy full SHA for a91b5a5
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -21,7 +21,6 @@
21
use Symfony\Component\Form\Form;
22
use Symfony\Component\Lock\Lock;
23
use Symfony\Component\Lock\Store\SemaphoreStore;
24
-use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
25
use Symfony\Component\Serializer\Serializer;
26
use Symfony\Component\Translation\Translator;
27
use Symfony\Component\Validator\Validation;
@@ -110,7 +109,7 @@ private function addCsrfSection(ArrayNodeDefinition $rootNode)
110
109
$rootNode
111
->children()
112
->arrayNode('csrf_protection')
113
- ->{!class_exists(FullStack::class) && interface_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
+ ->canBeEnabled()
114
->end()
115
116
;
0 commit comments