You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Authentication/AuthenticatorManager.php
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,7 @@ public function supports(Request $request): ?bool
99
99
}
100
100
101
101
$authenticators = [];
102
+
$skippedAuthenticators = [];
102
103
$lazy = true;
103
104
foreach ($this->authenticatorsas$authenticator) {
104
105
if (null !== $this->logger) {
@@ -108,8 +109,11 @@ public function supports(Request $request): ?bool
108
109
if (false !== $supports = $authenticator->supports($request)) {
109
110
$authenticators[] = $authenticator;
110
111
$lazy = $lazy && null === $supports;
111
-
} elseif (null !== $this->logger) {
112
-
$this->logger->debug('Authenticator does not support the request.', ['firewall_name' => $this->firewallName, 'authenticator' => \get_class($authenticator)]);
112
+
} else {
113
+
if (null !== $this->logger) {
114
+
$this->logger->debug('Authenticator does not support the request.', ['firewall_name' => $this->firewallName, 'authenticator' => \get_class($authenticator)]);
115
+
}
116
+
$skippedAuthenticators[] = $authenticator;
113
117
}
114
118
}
115
119
@@ -118,6 +122,7 @@ public function supports(Request $request): ?bool
0 commit comments