25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

option "access_from" is now documented (EJAB-1187)

This commit is contained in:
ekhramtsov 2010-02-18 14:57:08 +09:00
parent 1a96944929
commit 35e00ebcf6

View File

@ -3678,6 +3678,10 @@ Options:
rules to restrict registration. If a rule returns `deny' on the requested rules to restrict registration. If a rule returns `deny' on the requested
user name, registration for that user name is denied. (there are no user name, registration for that user name is denied. (there are no
restrictions by default). restrictions by default).
\titem{\{access\_from, AccessName\}} \ind{options!access\_from}By default, \ejabberd{}
doesn't allow to register new accounts from s2s or existing c2s sessions. You can
change it by defining access rule in this option. Use with care: allowing registration
from s2s leads to uncontrolled massive accounts creation by rogue users.
\titem{\{welcome\_message, Message\}} \ind{options!welcomem}Set a welcome message that \titem{\{welcome\_message, Message\}} \ind{options!welcomem}Set a welcome message that
is sent to each newly registered account. The first string is the subject, and is sent to each newly registered account. The first string is the subject, and
the second string is the message body. the second string is the message body.