From 53d72bd85ae46f8d677e4342ee24fc614a1daecf Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 13 Nov 2015 19:33:23 +0100 Subject: [PATCH] Disable vJUD by default also in mod_vcard_ldap source code --- src/mod_vcard_ldap.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_vcard_ldap.erl b/src/mod_vcard_ldap.erl index f75bb0712..3f6b41a70 100644 --- a/src/mod_vcard_ldap.erl +++ b/src/mod_vcard_ldap.erl @@ -55,7 +55,7 @@ {serverhost = <<"">> :: binary(), myhost = <<"">> :: binary(), eldap_id = <<"">> :: binary(), - search = true :: boolean(), + search = false :: boolean(), servers = [] :: [binary()], backups = [] :: [binary()], port = ?LDAP_PORT :: inet:port_number(), @@ -735,7 +735,7 @@ parse_options(Host, Opts) -> <<"vjud.@HOST@">>), Search = gen_mod:get_opt(search, Opts, fun(B) when is_boolean(B) -> B end, - true), + false), Matches = gen_mod:get_opt(matches, Opts, fun(infinity) -> 0; (I) when is_integer(I), I>0 -> I