Merge pull request #4389 from Infisical/daniel/check-out-no-org-check

fix(cli): failing tests
This commit is contained in:
Daniel Hougaard
2025-08-18 10:41:20 +08:00
committed by GitHub
+1 -1
View File
@@ -67,7 +67,7 @@ export const registerAuthRoutes = async (server: FastifyZodProvider) => {
})
}
},
onRequest: verifyAuth([AuthMode.JWT]),
onRequest: verifyAuth([AuthMode.JWT], { requireOrg: false }),
handler: () => ({ message: "Authenticated" as const })
});