Skip to content

Commit 84b5718

Browse files
committed
minor: fix exception message
1 parent 7714855 commit 84b5718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/Security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private function getAuthenticator(?string $authenticatorName, string $firewallNa
8989
$authenticatorId = 'security.authenticator.'.$authenticatorName.'.'.$firewallName;
9090

9191
if (!$firewallAuthenticatorLocator->has($authenticatorId)) {
92-
throw new LogicException(sprintf('Unable to find an authenticator named "%s" for the firewall "%s". Available authenticators: "%s".', $authenticatorName, implode('", "', $firewallAuthenticatorLocator->getProvidedServices())));
92+
throw new LogicException(sprintf('Unable to find an authenticator named "%s" for the firewall "%s". Available authenticators: "%s".', $authenticatorName, implode('", "', array_keys($firewallAuthenticatorLocator->getProvidedServices()))));
9393
}
9494

9595
return $firewallAuthenticatorLocator->get($authenticatorId);

0 commit comments

Comments
 (0)