Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix identity count used by the license server, removed the status filter as identities accept memberships by default

Carlos Monastyrski56e04d8cf0a3
diff --git a/backend/src/ee/services/license/license-dal.ts b/backend/src/ee/services/license/license-dal.ts
index 891d609221..a2bd7ec518 100644
--- a/backend/src/ee/services/license/license-dal.ts
+++ b/backend/src/ee/services/license/license-dal.ts
@@ -44,7 +44,7 @@ export const licenseDALFactory = (db: TDbClient) => {
// count org identities
const identityDoc = await (tx || db.replicaNode())(TableName.Membership)
- .where({ status: OrgMembershipStatus.Accepted, scope: AccessScope.Organization })
+ .where({ scope: AccessScope.Organization })
.whereNotNull(`${TableName.Membership}.actorIdentityId`)
.where((bd) => {
if (orgId) {