Skip to content

Commit 3906998

Browse files
committed
feat(user_ldap): Save base on detect
Signed-off-by: Louis Chmn <[email protected]>
1 parent 687fa0a commit 3906998

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/user_ldap/src/components/SettingsTabs/ServerTab.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ async function guessBaseDN() {
146146
try {
147147
loadingGuessBaseDN.value = true
148148
const { changes } = await callWizard('guessBaseDN', props.configId)
149-
// Not using ldapConfigProxy to avoid triggering the save logic.
150-
ldapConfigs.value[props.configId].ldapBase = (changes!.ldap_base as string) ?? ''
149+
ldapConfigProxy.value.ldapBase = (changes!.ldap_base as string) ?? ''
151150
} finally {
152151
loadingGuessBaseDN.value = false
153152
}

0 commit comments

Comments
 (0)