summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schmitt <schmittjoh@gmail.com>2011-05-14 13:21:09 +0200
committerJohannes Schmitt <schmittjoh@gmail.com>2011-05-14 13:25:03 +0200
commitd74cd3f5545c912dbe7b5fad5e1954da9d972bd0 (patch)
treeee4297142a376ed1737134cca9b400028088df6a
parent70cfab061f99a8c44c168cb3b493b9eac88159a1 (diff)
downloadsymfony-security-d74cd3f5545c912dbe7b5fad5e1954da9d972bd0.zip
symfony-security-d74cd3f5545c912dbe7b5fad5e1954da9d972bd0.tar.gz
symfony-security-d74cd3f5545c912dbe7b5fad5e1954da9d972bd0.tar.bz2
revert exception message
-rw-r--r--Core/SecurityContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/SecurityContext.php b/Core/SecurityContext.php
index c492339..575f94b 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. 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()) {