Skip to content

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

Update org-dal.ts

Daniel Hougaardcee8ead78a94
diff --git a/backend/src/services/org/org-dal.ts b/backend/src/services/org/org-dal.ts
index 4ff5e97a79..05c77e7467 100644
--- a/backend/src/services/org/org-dal.ts
+++ b/backend/src/services/org/org-dal.ts
@@ -110,6 +110,7 @@ export const orgDALFactory = (db: TDbClient) => {
db.ref("id").withSchema(TableName.Users).as("userId"),
db.ref("publicKey").withSchema(TableName.UserEncryptionKey)
)
+ .where({ isGhost: false })
.whereIn("email", emails);
return members.map(({ email, firstName, lastName, userId, publicKey, ...data }) => ({
...data,