mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
fix server reference
This commit is contained in:
parent
1e1043c04f
commit
94cc7c2bc7
@ -34,7 +34,7 @@ class AuthenticationServerMiddleware
|
||||
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next)
|
||||
{
|
||||
try {
|
||||
$response = $server->respondToRequest($request, $response);
|
||||
$response = $this->server->respondToRequest($request, $response);
|
||||
} catch (OAuthServerException $exception) {
|
||||
return $exception->generateHttpResponse($response);
|
||||
} catch (\Exception $exception) {
|
||||
|
Loading…
Reference in New Issue
Block a user