diff --git a/ChangeLog b/ChangeLog index 4a8f3b10d..55e8a1771 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-04-22 Badlop + * src/ejabberd.cfg.example: Add CAPTCHA options (EJAB-895) + * doc/guide.tex: Add section to document how to setup CAPTCHA support (EJAB-895) * doc/guide.html: Likewise diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example index 046db942b..c58489765 100644 --- a/src/ejabberd.cfg.example +++ b/src/ejabberd.cfg.example @@ -149,6 +149,7 @@ %% ]}, {5280, ejabberd_http, [ + captcha, http_poll, web_admin ]} @@ -413,6 +414,20 @@ %%}. +%%% ======= +%%% CAPTCHA + +%% +%% Full path to a script that generates the image. +%% +%%{captcha_cmd, "/lib/ejabberd/priv/bin/captcha.sh"}. + +%% +%% Host part of the URL sent to the user. +%% +%%{captcha_host, "example.org:5280"}. + + %%% ================ %%% DEFAULT LANGUAGE