File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Symfony/Bundle/FrameworkBundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 21
21
use Symfony \Component \Form \Form ;
22
22
use Symfony \Component \Lock \Lock ;
23
23
use Symfony \Component \Lock \Store \SemaphoreStore ;
24
- use Symfony \Component \Security \Csrf \CsrfTokenManagerInterface ;
25
24
use Symfony \Component \Serializer \Serializer ;
26
25
use Symfony \Component \Translation \Translator ;
27
26
use Symfony \Component \Validator \Validation ;
@@ -143,7 +142,7 @@ private function addCsrfSection(ArrayNodeDefinition $rootNode)
143
142
$ rootNode
144
143
->children ()
145
144
->arrayNode ('csrf_protection ' )
146
- ->{! class_exists (FullStack::class) && class_exists (CsrfTokenManagerInterface::class) ? ' canBeDisabled ' : ' canBeEnabled ' } ()
145
+ ->canBeEnabled ()
147
146
->end ()
148
147
->end ()
149
148
;
You can’t perform that action at this time.
0 commit comments