diff --git a/packages/backend/server/src/plugins/payment/license/controller.ts b/packages/backend/server/src/plugins/payment/license/controller.ts index 04507e8af..73646830e 100644 --- a/packages/backend/server/src/plugins/payment/license/controller.ts +++ b/packages/backend/server/src/plugins/payment/license/controller.ts @@ -149,7 +149,7 @@ export class LicenseController { throw new LicenseNotFound(); } - if (license.validateKey && license.validateKey !== revalidateKey) { + if (!license.validateKey || license.validateKey !== revalidateKey) { throw new InvalidLicenseToActivate({ reason: 'Invalid validate key', });