25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Merge pull request #361 from weiss/parse-ldap-dn-filter

Fix parsing of "ldap_dn_filter" option
This commit is contained in:
Evgeny Khramtsov 2014-11-22 10:36:21 +03:00
commit 946b64e166

View File

@ -387,7 +387,7 @@ parse_options(Host) ->
[{<<"%u">>, <<"*">>}]),
{DNFilter, DNFilterAttrs} =
eldap_utils:get_opt({ldap_dn_filter, Host}, [],
fun({DNF, DNFA}) ->
fun([{DNF, DNFA}]) ->
NewDNFA = case DNFA of
undefined ->
[];