Skip to content

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

misc: adjusted other hook usage to incorporate new properties

Sheen Capadngan1e701687ae5e
diff --git a/frontend/src/hooks/api/ldapConfig/mutations.tsx b/frontend/src/hooks/api/ldapConfig/mutations.tsx
index a148388424..2014f52bd0 100644
--- a/frontend/src/hooks/api/ldapConfig/mutations.tsx
+++ b/frontend/src/hooks/api/ldapConfig/mutations.tsx
@@ -75,7 +75,7 @@ export const useUpdateLDAPConfig = () => {
url?: string;
bindDN?: string;
bindPass?: string;
- uniqueUserAttribute: string;
+ uniqueUserAttribute?: string;
searchBase?: string;
searchFilter?: string;
groupSearchBase?: string;
diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgLDAPSection.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgLDAPSection.tsx
index 87d0f28aff..458dc0a102 100644
--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgLDAPSection.tsx
+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgLDAPSection.tsx
@@ -67,6 +67,7 @@ export const OrgLDAPSection = (): JSX.Element => {
url: "",
bindDN: "",
bindPass: "",
+ uniqueUserAttribute: "",
searchBase: "",
searchFilter: "",
groupSearchBase: "",