PHP 8.1 and Symfony 5.4 upgrade #2
|
@ -108,6 +108,7 @@ class ApiTokenAuthenticator extends AbstractGuardAuthenticator
|
||||||
return new JsonResponse($json, JsonResponse::HTTP_UNAUTHORIZED,[], true);
|
return new JsonResponse($json, JsonResponse::HTTP_UNAUTHORIZED,[], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @deprecated use AuthenticatorInterface::createToken() instead */
|
||||||
public function createAuthenticatedToken(UserInterface $user, $providerKey)
|
public function createAuthenticatedToken(UserInterface $user, $providerKey)
|
||||||
{
|
{
|
||||||
$request = $this->requestStack->getCurrentRequest();
|
$request = $this->requestStack->getCurrentRequest();
|
||||||
|
|
Loading…
Reference in a new issue