Skip to content

Commit 7ad25f7

Browse files
committed
[SecurityBundle] Fix wrong array key
1 parent c9316d3 commit 7ad25f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DataCollector/SecurityDataCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ public function collect(Request $request, Response $response, \Throwable $except
198198

199199
// in 6.0, always fill `$this->data['authenticators'] only
200200
if ($this->authenticatorManagerEnabled) {
201-
$this->data['authenticators'] = $firewallConfig->getAuthenticators();
201+
$this->data['firewall']['authenticators'] = $firewallConfig->getAuthenticators();
202202
} else {
203-
$this->data['listeners'] = $firewallConfig->getAuthenticators();
203+
$this->data['firewall']['listeners'] = $firewallConfig->getAuthenticators();
204204
}
205205

206206
// generate exit impersonation path from current request

0 commit comments

Comments
 (0)