From 4b012a99d2bdd6d22f05676e9a7989409e314fca Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 26 Jan 2018 15:02:06 +0300 Subject: Introduce option 'captcha' for mod_block_strangers When the option is set to `true`, the module will generate CAPTCHA challenges for incoming subscription requests. The option also implies that option `drop` is set to `true`. Note that the module won't generate CAPTCHA challenges for messages: they will still be rejected if `drop` is set to `true`. Fixes #2246 --- src/ejabberd_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ejabberd_sup.erl') diff --git a/src/ejabberd_sup.erl b/src/ejabberd_sup.erl index cea0c279b..5980937fe 100644 --- a/src/ejabberd_sup.erl +++ b/src/ejabberd_sup.erl @@ -166,7 +166,6 @@ init([]) -> ACME, Listener, S2S, - Captcha, S2SInSupervisor, S2SOutSupervisor, ServiceSupervisor, @@ -182,6 +181,7 @@ init([]) -> RouterMulticast, Local, SM, + Captcha, ExtMod, GenModSupervisor, Auth, -- cgit v1.2.3