8000 minor #14884 Change error message to reflect SecurityContext deprecat… · symfony/symfony@d1404a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit d1404a6

Browse files
committed
minor #14884 Change error message to reflect SecurityContext deprecation. (nickbyfleet)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #14884). Discussion ---------- Change error message to reflect SecurityContext deprecation. This PR was submitted on the symfony/Security read-only repository by @nickbyfleet and moved automatically to the main Symfony repository (closes symfony/security#6). Commits ------- 4212bda Change error message to reflect SecurityContext deprecation.
2 parents 04630ad + 4212bda commit d1404a6

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