Remove print statements, cleanup

This commit is contained in:
Tuan Dang
2024-04-18 13:51:47 -07:00
parent fa7587900e
commit 6e3d5a8c7c
7 changed files with 7 additions and 40 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ export const orgServiceFactory = ({
ForbiddenError.from(permission).throwUnlessCan(OrgPermissionActions.Edit, OrgPermissionSubjects.Scim);
}
if (authEnforced || scimEnabled) {
if (authEnforced) {
const samlCfg = await samlConfigDAL.findEnforceableSamlCfg(orgId);
if (!samlCfg)
throw new BadRequestError({