tweaking message related to configuration edge case that we want to be helpful with
This commit is contained in:
parent
da4758a2af
commit
869d5a77f0
@ -94,7 +94,7 @@ class GuardAuthenticationFactory implements SecurityFactoryInterface
|
|||||||
// explode if they've configured the entry_point, but there is already one
|
// explode if they've configured the entry_point, but there is already one
|
||||||
if ($config['entry_point']) {
|
if ($config['entry_point']) {
|
||||||
throw new \LogicException(sprintf(
|
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']
|
$config['entry_point']
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user