Skip to content

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

Merge remote-tracking branch 'origin/main' into feat/moved-mfa-to-org-level

Sheen Capadngan2e2fea304b5b
diff --cc backend/src/services/org/org-service.ts
index 27e62304df,e71ad69839..a751efe39f
--- a/backend/src/services/org/org-service.ts
+++ b/backend/src/services/org/org-service.ts
@@@ -332,10 -317,9 +332,10 @@@ export const orgServiceFactory = (
slug: slug ? slugify(slug) : undefined,
authEnforced,
scimEnabled,
- defaultMembershipRole
+ defaultMembershipRole,
+ enforceMfa
});
- if (!org) throw new NotFoundError({ message: "Organization not found" });
+ if (!org) throw new NotFoundError({ message: `Organization with ID '${orgId}' not found` });
return org;
};
/*