diff options
author | Johannes Schmitt <schmittjoh@gmail.com> | 2011-05-28 18:06:47 +0200 |
---|---|---|
committer | Johannes Schmitt <schmittjoh@gmail.com> | 2011-05-28 18:06:47 +0200 |
commit | 877e4798347acb6bed5a95df174f05ce6970d74c (patch) | |
tree | f6162851990e4bbb09f111324895ce356692f3ee /Core | |
parent | 64005e8641500dda1e39770344f6b417fd008756 (diff) | |
download | symfony-security-877e4798347acb6bed5a95df174f05ce6970d74c.zip symfony-security-877e4798347acb6bed5a95df174f05ce6970d74c.tar.gz symfony-security-877e4798347acb6bed5a95df174f05ce6970d74c.tar.bz2 |
Revert "revert exception message"
This reverts commit b637a3190d897e1b6076878ed69d2e4b3a58158d.
Diffstat (limited to 'Core')
-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()) { |