Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: requested changes
Daniel Hougaardde443c5ea14d
diff --git a/backend/src/server/routes/v1/identity-ldap-auth-router.ts b/backend/src/server/routes/v1/identity-ldap-auth-router.tsindex ec3b64592a..0d764425ab 100644--- a/backend/src/server/routes/v1/identity-ldap-auth-router.ts+++ b/backend/src/server/routes/v1/identity-ldap-auth-router.ts@@ -148,7 +148,7 @@ export const registerIdentityLdapAuthRouter = async (server: FastifyZodProvider)},handler: async (req) => {- if (!req.passportMachineIdentity?.identityId || !req.passportMachineIdentity.user.uid) {+ if (!req.passportMachineIdentity?.identityId) {throw new UnauthorizedError({ message: "Invalid request. Missing identity ID or LDAP entry details." });}diff --git a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityLdapAuthForm.tsx b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityLdapAuthForm.tsxindex e2dbc8b285..62080bfd10 100644--- a/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityLdapAuthForm.tsx+++ b/frontend/src/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityLdapAuthForm.tsx@@ -446,7 +446,7 @@ export const IdentityLdapAuthForm = ({leftIcon={<FontAwesomeIcon icon={faPlus} />}size="xs">- Add Allowed Field+ Add Required Attribute</Button></div>