File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/user_ldap/src/components/SettingsTabs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4747 type =" number"
4848 autocomplete =" off"
4949 @change =" (event) => ldapConfigProxy.ldapPort = event.target.value" />
50- <NcButton :disabled =" loadingGuessPortAndTLS" @click =" guessPortAndTLS" >
50+ <NcButton :disabled =" loadingGuessPortAndTLS || ldapConfigProxy.ldapHost === '' " @click =" guessPortAndTLS" >
5151 {{ t('user_ldap', 'Detect Port') }}
5252 </NcButton >
5353 </div >
8383 :helper-text =" t('user_ldap', 'You can specify Base DN for users and groups in the Advanced tab')"
8484 @change =" (event) => ldapConfigProxy.ldapBase = event.target.value" />
8585
86- <NcButton :disabled =" loadingGuessBaseDN" @click =" guessBaseDN" >
86+ <NcButton :disabled =" loadingGuessBaseDN || needsToSaveCredentials " @click =" guessBaseDN" >
8787 {{ t('user_ldap', 'Detect Base DN') }}
8888 </NcButton >
8989 <NcButton :disabled =" loadingCountInBaseDN || ldapConfigProxy.ldapBase === ''" @click =" countInBaseDN" >
You can’t perform that action at this time.
0 commit comments