aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2008-04-25 22:45:45 +0000
committerBadlop <badlop@process-one.net>2008-04-25 22:45:45 +0000
commit0b5720906caa4f4766927ff26460852fba9c7757 (patch)
treec0c114ff2d7859fc008383075d8cb1d058e11a2e /doc
parent* src/ejabberd_c2s.erl: Added forbidden_session_hook (diff)
* doc/guide.tex: Document option registration_timeout (EJAB-614)
SVN Revision: 1302
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.tex12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index b8b9fd1db..2fcffc610 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -3001,6 +3001,14 @@ Options:
\iqdiscitem{In-Band Registration (\ns{jabber:iq:register})}
\end{description}
+This module reads also another option defined globably for the server:
+\term{\{registration\_timeout, Timeout\}}. \ind{options!registratimeout}
+This option limits the frequency of registration from a given IP or username.
+So, a user can't register a new account from the same IP address or JID during
+this number of seconds after previous registration.
+Timeout is expressed in seconds, and must be an integer.
+Default value: 600 seconds.
+
Examples:
\begin{itemize}
\item Next example prohibits the registration of too short account names:
@@ -3035,8 +3043,10 @@ Examples:
...
]}.
\end{verbatim}
-\item Define the welcome message and three registration watchers:
+\item Define the welcome message and three registration watchers.
+Also define a registration timeout of one hour:
\begin{verbatim}
+ {registration_timeout, 3600}.
{modules,
[
...