revert exception message
This commit is contained in:
parent
eb1b7f1e46
commit
b637a3190d
@ -58,7 +58,7 @@ class SecurityContext implements SecurityContextInterface
|
||||
public final function isGranted($attributes, $object = null)
|
||||
{
|
||||
if (null === $this->token) {
|
||||
throw new AuthenticationCredentialsNotFoundException('The security context contains no authentication token. One possible reason may be that there is no firewall configured for this URL.');
|
||||
throw new AuthenticationCredentialsNotFoundException('The security context contains no authentication token.');
|
||||
}
|
||||
|
||||
if ($this->alwaysAuthenticate || !$this->token->isAuthenticated()) {
|
||||
|
Reference in New Issue
Block a user