Skip to content

Commit

Permalink
[FrameworkBundle] fix debug:event-dispatcher and debug:firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed May 10, 2021
1 parent 139674d commit 1336b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/SecurityExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ private function createFirewall(ContainerBuilder $container, string $id, array $
// Register Firewall-specific event dispatcher
$firewallEventDispatcherId = 'security.event_dispatcher.'.$id;
$container->register($firewallEventDispatcherId, EventDispatcher::class)
->addTag('event_dispatcher.dispatcher');
->addTag('event_dispatcher.dispatcher', ['name' => $firewallEventDispatcherId]);

// Register listeners
$listeners = [];
Expand Down
2 changes: 1 addition & 1 deletion Resources/config/debug_console.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
->args([
param('security.firewalls'),
service('security.firewall.context_locator'),
tagged_locator('event_dispatcher.dispatcher'),
tagged_locator('event_dispatcher.dispatcher', 'name'),
[],
false,
])
Expand Down

0 comments on commit 1336b3e

Please sign in to comment.