8000 Change error message to reflect SecurityContext deprecation. · symfony/symfony@4212bda · GitHub
[go: up one dir, main page]

Skip to content

Commit 4212bda

Browse files
nickbyfleetfabpot
authored andcommitted
Change error message to reflect SecurityContext deprecation.
1 parent 04630ad commit 4212bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/Firewall/AccessListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(TokenStorageInterface $tokenStorage, AccessDecisionM
5050
public function handle(GetResponseEvent $event)
5151
{
5252
if (null === $token = $this->tokenStorage->getToken()) {
53-
throw new AuthenticationCredentialsNotFoundException('A Token was not found in the SecurityContext.');
53+
throw new AuthenticationCredentialsNotFoundException('A Token was not found in the TokenStorage.');
5454
}
5555

5656
$request = $event->getRequest();

0 commit comments

Comments
 (0)
0