Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 28720be

Browse files
nickbyfleetfabpot
authored andcommitted
Change error message to reflect SecurityContext deprecation.
1 parent 42f6478 commit 28720be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)