mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 19:28:16 +00:00
Chore: Removed code that spans out of scope
This commit is contained in:
@@ -443,15 +443,6 @@ export const scimServiceFactory = ({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const organization = await orgDAL.findById(scimToken.orgId);
|
|
||||||
|
|
||||||
if (!organization.scimEnabled) {
|
|
||||||
throw new ScimRequestError({
|
|
||||||
detail: "SCIM is disabled for the organization",
|
|
||||||
status: 403
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return { scimTokenId: scimToken.id, orgId: scimToken.orgId };
|
return { scimTokenId: scimToken.id, orgId: scimToken.orgId };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user