diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-01-26 15:02:06 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-01-26 15:02:06 +0300 |
commit | 4b012a99d2bdd6d22f05676e9a7989409e314fca (patch) | |
tree | b2ab9099df553d850dac7be313ec2b07bf7c846a /src/ejabberd_sup.erl | |
parent | Fix 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.erl | 2 |
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, |