From: Badlop Date: Fri, 13 Jun 2008 17:51:01 +0000 (+0000) Subject: * src/ejabberd.cfg.example: Add registration_timeout (EJAB-653) X-Git-Tag: v2.0.2~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9241c9e7544bba1dbdefd27627181bb324b41da;p=ejabberd * src/ejabberd.cfg.example: Add registration_timeout (EJAB-653) SVN Revision: 1355 --- diff --git a/ChangeLog b/ChangeLog index aebe9fd39..ed0aa15f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-06-13 Badlop + * src/ejabberd.cfg.example: Add registration_timeout (EJAB-653) + * doc/guide.tex: Table of listener modules converted to description. Table of modules overview simplified, and module names link to their sections. Document diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example index 54ca36f54..e1d63ed9e 100644 --- a/src/ejabberd.cfg.example +++ b/src/ejabberd.cfg.example @@ -383,12 +383,16 @@ %% All users are allowed to use MUC service: {access, muc, [{allow, all}]}. +%% Everybody can create pubsub nodes +{access, pubsub_createnode, [{allow, all}]}. + %% In-band registration allows registration of any possible username. %% To disable in-band registration, replace 'allow' with 'deny'. {access, register, [{allow, all}]}. -%% Everybody can create pubsub nodes -{access, pubsub_createnode, [{allow, all}]}. +%% By default frequency of account registrations from a the same IP +%% is limited to 1 account every 10 minutes. To disable put: infinity +%%{registration_timeout, 600}. %% %% Define specific Access rules in a virtual host.