From 1e701687ae5ed9c104d3049b8599d92ee5e2e2fd Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Wed, 26 Jun 2024 19:04:11 +0800 Subject: [PATCH] misc: adjusted other hook usage to incorporate new properties --- frontend/src/hooks/api/ldapConfig/mutations.tsx | 2 +- .../OrgSettingsPage/components/OrgAuthTab/OrgLDAPSection.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/hooks/api/ldapConfig/mutations.tsx b/frontend/src/hooks/api/ldapConfig/mutations.tsx index a14838842..2014f52bd 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 87d0f28af..458dc0a10 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: "",