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 ;
@@ -110,7 +109,7 @@ private function addCsrfSection(ArrayNodeDefinition $rootNode)
110
109
$ rootNode
111
110
->children ()
112
111
->arrayNode ('csrf_protection ' )
113
- ->{! class_exists (FullStack::class) && interface_exists (CsrfTokenManagerInterface::class) ? ' canBeDisabled ' : ' canBeEnabled ' } ()
112
+ ->canBeEnabled ()
114
113
->end ()
115
114
->end ()
116
115
;
You can’t perform that action at this time.
0 commit comments