Change error message to reflect SecurityContext deprecation.
This commit is contained in:
parent
04630ad60e
commit
4212bdaf72
@ -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();
|
||||
|
Reference in New Issue
Block a user