diff --git a/system/typemill/Controllers/ControllerApiSystemLicense.php b/system/typemill/Controllers/ControllerApiSystemLicense.php index 4d14c74..358f32e 100644 --- a/system/typemill/Controllers/ControllerApiSystemLicense.php +++ b/system/typemill/Controllers/ControllerApiSystemLicense.php @@ -49,9 +49,12 @@ class ControllerApiSystemLicense extends Controller return $response->withHeader('Content-Type', 'application/json')->withStatus(400); } + $licensedata = $license->getLicenseFile(); + unset($licensedata['signature']); + $response->getBody()->write(json_encode([ 'message' => Translations::translate('Licence has been stored'), - 'licensedata' => $license->getLicenseData($this->c->get('urlinfo')) + 'licensedata' => $licensedata ])); return $response->withHeader('Content-Type', 'application/json')->withStatus(200);