Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d1404a6

Browse filesBrowse 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
Copy full SHA for d1404a6

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Firewall/AccessListener.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.