diff --git a/src/Config/Connector/GandiConnector.php b/src/Config/Connector/GandiConnector.php index 05623e6..a3aab23 100644 --- a/src/Config/Connector/GandiConnector.php +++ b/src/Config/Connector/GandiConnector.php @@ -110,7 +110,7 @@ readonly class GandiConnector implements ConnectorInterface if (true !== $acceptConditions || true !== $ownerLegalAge || true !== $waiveRetractationPeriod) { - throw new HttpException(451, 'The user has not given explicit consent', null, ['Link' => '; rel="blocked-by"']); + throw new HttpException(451, 'The user has not given explicit consent', null); } $response = $client->request('GET', '/v5/organization/user-info', (new HttpOptions()) diff --git a/src/Config/Connector/OvhConnector.php b/src/Config/Connector/OvhConnector.php index 936dc3c..8bbd826 100644 --- a/src/Config/Connector/OvhConnector.php +++ b/src/Config/Connector/OvhConnector.php @@ -145,7 +145,7 @@ readonly class OvhConnector implements ConnectorInterface if (true !== $acceptConditions || true !== $ownerLegalAge || true !== $waiveRetractationPeriod) { - throw new HttpException(451, 'The user has not given explicit consent', null, ['Link' => '; rel="blocked-by"']); + throw new HttpException(451, 'The user has not given explicit consent', null); } $conn = new Api(