aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_sup.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-01-26 15:02:06 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-01-26 15:02:06 +0300
commit4b012a99d2bdd6d22f05676e9a7989409e314fca (patch)
treeb2ab9099df553d850dac7be313ec2b07bf7c846a /src/ejabberd_sup.erl
parentFix more tests (diff)
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
Diffstat (limited to 'src/ejabberd_sup.erl')
-rw-r--r--src/ejabberd_sup.erl2
1 files changed, 1 insertions, 1 deletions
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,