web/admin: fix display of LDAP bind mode

closes #2930
This commit is contained in:
Jens Langhammer 2022-05-23 09:24:57 +00:00
parent 0e912fd647
commit a690a02f99
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
</option>
<option
value="${LDAPAPIAccessMode.Direct}"
?selected=${this.instance?.searchMode === LDAPAPIAccessMode.Direct}
?selected=${this.instance?.bindMode === LDAPAPIAccessMode.Direct}
>
${t`Direct querying, always execute the configured bind flow to authenticate the user.`}
</option>