mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
[ldap-contacts-suggestions] Better handling of mixed case attributes
While the LDAP search is case insensitive, the array which is returned from ldap_get_entries() will only use lowercase. This means that if one configures the plugin to look for e.g. "givenName", no results will be returned.
This commit is contained in:
parent
11294a8f8b
commit
725f217778
2 changed files with 5 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ class LdapContactsSuggestionsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
\RainLoop\Plugins\Property::NewInstance('search_field')->SetLabel('Search field')
|
||||
->SetDefaultValue('uid'),
|
||||
\RainLoop\Plugins\Property::NewInstance('name_field')->SetLabel('Name field')
|
||||
->SetDefaultValue('givenname'),
|
||||
->SetDefaultValue('givenName'),
|
||||
\RainLoop\Plugins\Property::NewInstance('mail_field')->SetLabel('Mail field')
|
||||
->SetDefaultValue('mail'),
|
||||
\RainLoop\Plugins\Property::NewInstance('allowed_emails')->SetLabel('Allowed emails')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue