mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Disable vJUD by default also in mod_vcard_ldap source code
This commit is contained in:
parent
f6d8f47451
commit
53d72bd85a
@ -55,7 +55,7 @@
|
|||||||
{serverhost = <<"">> :: binary(),
|
{serverhost = <<"">> :: binary(),
|
||||||
myhost = <<"">> :: binary(),
|
myhost = <<"">> :: binary(),
|
||||||
eldap_id = <<"">> :: binary(),
|
eldap_id = <<"">> :: binary(),
|
||||||
search = true :: boolean(),
|
search = false :: boolean(),
|
||||||
servers = [] :: [binary()],
|
servers = [] :: [binary()],
|
||||||
backups = [] :: [binary()],
|
backups = [] :: [binary()],
|
||||||
port = ?LDAP_PORT :: inet:port_number(),
|
port = ?LDAP_PORT :: inet:port_number(),
|
||||||
@ -735,7 +735,7 @@ parse_options(Host, Opts) ->
|
|||||||
<<"vjud.@HOST@">>),
|
<<"vjud.@HOST@">>),
|
||||||
Search = gen_mod:get_opt(search, Opts,
|
Search = gen_mod:get_opt(search, Opts,
|
||||||
fun(B) when is_boolean(B) -> B end,
|
fun(B) when is_boolean(B) -> B end,
|
||||||
true),
|
false),
|
||||||
Matches = gen_mod:get_opt(matches, Opts,
|
Matches = gen_mod:get_opt(matches, Opts,
|
||||||
fun(infinity) -> 0;
|
fun(infinity) -> 0;
|
||||||
(I) when is_integer(I), I>0 -> I
|
(I) when is_integer(I), I>0 -> I
|
||||||
|
Loading…
Reference in New Issue
Block a user