Skip to content

Commit db3e212

Browse files
committed
only add to error
1 parent 6711fd3 commit db3e212

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ final public function respondToAccessTokenRequest(Request $request) : Response
4444
$response = $authorizationServer->respondToAccessTokenRequest($request, $response);
4545
} catch (OAuthServerException $serverException) {
4646
$response = $this->createOauthServerExceptionResponse($response, $serverException);
47+
$response = $this->addIssuerToResponse($response);
4748
}
48-
$response = $this->addIssuerToResponse($response);
4949
return $response;
5050
}
5151

0 commit comments

Comments
 (0)