tweaking message related to configuration edge case that we want to be helpful with

This commit is contained in:
Ryan Weaver 2015-09-26 10:22:30 -04:00
parent da4758a2af
commit 869d5a77f0

View File

@ -94,7 +94,7 @@ class GuardAuthenticationFactory implements SecurityFactoryInterface
// explode if they've configured the entry_point, but there is already one
if ($config['entry_point']) {
throw new \LogicException(sprintf(
'The guard authentication provider cannot use the "%s" entry_point because another entry point is already configured by another provider! Either remove the other provider or move the entry_point configuration as a root key under your firewall',
'The guard authentication provider cannot use the "%s" entry_point because another entry point is already configured by another provider! Either remove the other provider or move the entry_point configuration as a root key under your firewall (i.e. at the same level as "guard").',
$config['entry_point']
));
}