summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/ejabberd.cfg.example8
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dd477773..8f63ca56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-06-13 Badlop <badlop@process-one.net>
+ * 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 54ca36f5..e1d63ed9 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.