mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
fix(user_ldap): Re-introduce easy login attributes checkboxes
Fix https://github.com/nextcloud/server/issues/55805 Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
parent
8b293d1f05
commit
499bbd479a
1 changed files with 14 additions and 0 deletions
|
|
@ -8,6 +8,20 @@
|
|||
{{ t('user_ldap', 'When logging in, {instanceName} will find the user based on the following attributes:', { instanceName }) }}
|
||||
</legend>
|
||||
|
||||
<NcCheckboxRadioSwitch
|
||||
:model-value="ldapConfigProxy.ldapLoginFilterUsername === '1'"
|
||||
:description="t('user_ldap', 'Allows login against the LDAP/AD username, which is either \'uid\' or \'sAMAccountName\' and will be detected.')"
|
||||
@update:model-value="ldapConfigProxy.ldapLoginFilterUsername = $event ? '1' : '0'">
|
||||
{{ t('user_ldap', 'LDAP/AD Username:') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
|
||||
<NcCheckboxRadioSwitch
|
||||
:model-value="ldapConfigProxy.ldapLoginFilterEmail === '1'"
|
||||
:description="t('user_ldap', 'Allows login against an email attribute. \'mail\' and \'mailPrimaryAddress\' allowed.')"
|
||||
@update:model-value="ldapConfigProxy.ldapLoginFilterEmail = $event ? '1' : '0'">
|
||||
{{ t('user_ldap', 'LDAP/AD Email Address:') }}
|
||||
</NcCheckboxRadioSwitch>
|
||||
|
||||
<div class="ldap-wizard__login__line ldap-wizard__login__login-attributes">
|
||||
<NcSelect
|
||||
v-model="ldapLoginFilterAttributes"
|
||||
|
|
|
|||
Loading…
Reference in a new issue