minor #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 | #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
This commit is contained in:
commit
a1312fa4b2
@ -112,6 +112,6 @@ class GuardAuthenticationFactory implements SecurityFactoryInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
// we have multiple entry points - we must ask them to configure one
|
// we have multiple entry points - we must ask them to configure one
|
||||||
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)));
|
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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ class GuardAuthenticationListener implements ListenerInterface
|
|||||||
$request = $event->getRequest();
|
$request = $event->getRequest();
|
||||||
try {
|
try {
|
||||||
if (null !== $this->logger) {
|
if (null !== $this->logger) {
|
||||||
$this->logger->debug('Calling getCredentials() on guard configurator.', array('firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)));
|
$this->logger->debug('Calling getCredentials() on guard authenticator.', array('firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// allow the authenticator to fetch authentication info from the request
|
// allow the authenticator to fetch authentication info from the request
|
||||||
|
Reference in New Issue
Block a user