Skip to content

Commit 2b31704

Browse files
authored
Update LiveComponentExtension.php
1 parent 276a908 commit 2b31704

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/LiveComponent/src/DependencyInjection/LiveComponentExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ function (ChildDefinition $definition, AsLiveComponent $attribute) {
128128
->addTag('container.service_subscriber', ['key' => ComponentRenderer::class, 'id' => 'ux.twig_component.component_renderer'])
129129
->addTag('container.service_subscriber', ['key' => LiveComponentHydrator::class, 'id' => 'ux.live_component.component_hydrator'])
130130
->addTag('container.service_subscriber', ['key' => LiveComponentMetadataFactory::class, 'id' => 'ux.live_component.metadata_factory'])
131-
->addTag('container.service_subscriber') // csrf
132131
;
133132

134133
$container->register('ux.live_component.live_responder', LiveResponder::class);
@@ -205,7 +204,6 @@ function (ChildDefinition $definition, AsLiveComponent $attribute) {
205204
new Reference('ux.live_component.fingerprint_calculator'),
206205
new Reference('router'),
207206
new Reference('ux.live_component.live_responder'),
208-
new Reference('security.csrf.token_manager', ContainerInterface::NULL_ON_INVALID_REFERENCE),
209207
new Reference('ux.live_component.twig.template_mapper'),
210208
])
211209
;

0 commit comments

Comments
 (0)