summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorNicholas Byfleet <nbyf001@aucklanduni.ac.nz>2015-06-05 11:24:39 +1200
committerFabien Potencier <fabien.potencier@gmail.com>2015-06-05 21:57:45 +0200
commit28720becb233c5a040e9c9f636f98ea0b6f11149 (patch)
tree9399f3a3f6fbaf89c75adb0c9da4817c8dcdd038 /Http
parent42f6478db1887cd8fbdc2b46f4beda4469dfea17 (diff)
downloadsymfony-security-28720becb233c5a040e9c9f636f98ea0b6f11149.zip
symfony-security-28720becb233c5a040e9c9f636f98ea0b6f11149.tar.gz
symfony-security-28720becb233c5a040e9c9f636f98ea0b6f11149.tar.bz2
Change error message to reflect SecurityContext deprecation.
Diffstat (limited to 'Http')
-rw-r--r--Http/Firewall/AccessListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/AccessListener.php b/Http/Firewall/AccessListener.php
index 6fd68f3..c234317 100644
--- a/Http/Firewall/AccessListener.php
+++ b/Http/Firewall/AccessListener.php
@@ -50,7 +50,7 @@ class AccessListener implements ListenerInterface
public function handle(GetResponseEvent $event)
{
if (null === $token = $this->tokenStorage->getToken()) {
- throw new AuthenticationCredentialsNotFoundException('A Token was not found in the SecurityContext.');
+ throw new AuthenticationCredentialsNotFoundException('A Token was not found in the TokenStorage.');
}
$request = $event->getRequest();