diff options
-rw-r--r-- | Core/SecurityContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/SecurityContext.php b/Core/SecurityContext.php index 575f94b..c492339 100644 --- a/Core/SecurityContext.php +++ b/Core/SecurityContext.php @@ -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.'); + throw new AuthenticationCredentialsNotFoundException('The security context contains no authentication token. One possible reason may be that there is no firewall configured for this URL.'); } if ($this->alwaysAuthenticate || !$this->token->isAuthenticated()) { |