Skip to content

Commit a1312fa

Browse files
author
Robin Chalas
committed
minor symfony#28670 Fix a typo in error messages (AchillesKal)
This PR was merged into the 2.8 branch. Discussion ---------- Fix a typo in error messages | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#28667 | License | MIT | Doc PR | no Fixes a typo in some error messages. Configurators should be Authenticators. Commits ------- 07b67ec Fix a typo in error messages
2 parents fbaf220 + 07b67ec commit a1312fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/GuardAuthenticationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ private function determineEntryPoint($defaultEntryPointId, array $config)
112112
}
113113

114114
// we have multiple entry points - we must ask them to configure one
115-
throw new \LogicException(sprintf('Because you have multiple guard configurators, you need to set the "guard.entry_point" key to one of your configurators (%s)', implode(', ', $authenticatorIds)));
115+
throw new \LogicException(sprintf('Because you have multiple guard authenticators, you need to set the "guard.entry_point" key to one of your authenticators (%s)', implode(', ', $authenticatorIds)));
116116
}
117117
}

src/Symfony/Component/Security/Guard/Firewall/GuardAuthenticationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private function executeGuardAuthenticator($uniqueGuardKey, GuardAuthenticatorIn
9191
$request = $event->getRequest();
9292
try {
9393
if (null !== $this->logger) {
94-
$this->logger->debug('Calling getCredentials() on guard configurator.', array('firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)));
94+
$this->logger->debug('Calling getCredentials() on guard authenticator.', array('firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)));
9595
}
9696

9797
// allow the authenticator to fetch authentication info from the request

0 commit comments

Comments
 (0)