Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13b3cc1

Browse files
committed
move authenticator_manager_enabled from latecollect to collect
1 parent b5f3e27 commit 13b3cc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ public function collect(Request $request, Response $response, \Throwable $except
209209
if ($this->firewall) {
210210
$this->data['listeners'] = $this->firewall->getWrappedListeners();
211211
}
212+
213+
$this->data['authenticator_manager_enabled'] = $this->authenticatorManagerEnabled;
212214
}
213215

214216
/**
@@ -221,7 +223,6 @@ public function reset()
221223

222224
public function lateCollect()
223225
{
224-
$this->data['authenticator_manager_enabled'] = $this->authenticatorManagerEnabled;
225226
$this->data = $this->cloneVar($this->data);
226227
}
227228

0 commit comments

Comments
 (0)