mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 15:28:25 +00:00
Change error msg
This commit is contained in:
@@ -133,7 +133,9 @@ export const pkiAcmeServiceFactory = ({
|
|||||||
}
|
}
|
||||||
const orgLicensePlan = await licenseService.getPlan(profile.project!.orgId);
|
const orgLicensePlan = await licenseService.getPlan(profile.project!.orgId);
|
||||||
if (!orgLicensePlan.pkiAcme) {
|
if (!orgLicensePlan.pkiAcme) {
|
||||||
throw new AcmeUnauthorizedError({ message: "The organization does not have a valid license to use ACME" });
|
throw new AcmeUnauthorizedError({
|
||||||
|
message: "Failed to validate ACME profile: Plan restriction. Upgrade plan to continue"
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return profile;
|
return profile;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user