Fix a typo in error messages
This commit is contained in:
parent
fbaf2204b2
commit
07b67ec2cd
@ -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