aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-07-19 12:08:02 +0200
committerBadlop <badlop@process-one.net>2010-07-19 12:08:02 +0200
commitac84267b22e6b60540f7a698f3e69432b4d75dc6 (patch)
tree80f80d196fe244b009200fdde70e90a47f7f8241 /doc
parentcorrect handling of SQL boolean types (EJAB-1275) (diff)
Describe what a user gets when he hits the registration_timeout limit
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.html8
-rw-r--r--doc/guide.tex8
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/guide.html b/doc/guide.html
index d424d3a8f..3b78cba9e 100644
--- a/doc/guide.html
+++ b/doc/guide.html
@@ -2975,9 +2975,11 @@ the processing discipline for In-Band Registration (<TT>jabber:iq:register</TT>)
</DD></DL><P>This module reads also another option defined globally for the server:
<TT>{registration_timeout, Timeout}</TT>.
This option limits the frequency of registration from a given IP or username.
-So, a user can&#X2019;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.
+So, a user that tries to register a new account from the same IP address or JID during
+this number of seconds after his previous registration
+will receive an error <TT>resource-constraint</TT> with the explanation:
+&#X201C;Users are not allowed to register accounts so quickly&#X201D;.
+The timeout is expressed in seconds, and it must be an integer.
To disable this limitation,
instead of an integer put a word like: <TT>infinity</TT>.
Default value: 600 seconds.</P><P>Examples:
diff --git a/doc/guide.tex b/doc/guide.tex
index 99e47b1f1..ecd4815c6 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -3779,9 +3779,11 @@ from s2s leads to uncontrolled massive accounts creation by rogue users.
This module reads also another option defined globally 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.
+So, a user that tries to register a new account from the same IP address or JID during
+this number of seconds after his previous registration
+will receive an error \term{resource-constraint} with the explanation:
+``Users are not allowed to register accounts so quickly''.
+The timeout is expressed in seconds, and it must be an integer.
To disable this limitation,
instead of an integer put a word like: \term{infinity}.
Default value: 600 seconds.