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

Show example config to disable account create/delete, and allow password change.

SVN Revision: 2513
This commit is contained in:
Badlop 2009-08-20 21:45:15 +00:00
parent ec26a28cd2
commit d05565c6e0
2 changed files with 25 additions and 10 deletions

View File

@ -2759,14 +2759,20 @@ Next example prohibits the registration of too short account names:
{mod_register, [{access, register}]},
...
]}.
</PRE></LI><LI CLASS="li-itemize">The in-band registration of new accounts can be prohibited by changing the
<TT>access</TT> option. If you really want to disable all In-Band Registration
functionality, that is changing passwords in-band and deleting accounts
in-band, you have to remove <TT>mod_register</TT> from the modules list. In this
example all In-Band Registration functionality is disabled:
</PRE></LI><LI CLASS="li-itemize">This configuration prohibits usage of In-Band Registration
to create or delete accounts,
but allows existing accounts to change the password:
<PRE CLASS="verbatim">{access, register, [{deny, all}]}.
{modules,
[
...
{mod_register, [{access, register}]},
...
]}.
</PRE></LI><LI CLASS="li-itemize">This configuration disables all In-Band Registration
functionality: create, delete accounts and change password:
<PRE CLASS="verbatim">{modules,
[
...
%% {mod_register, [{access, register}]},

View File

@ -3540,14 +3540,23 @@ Examples:
...
]}.
\end{verbatim}
\item The in-band registration of new accounts can be prohibited by changing the
\option{access} option. If you really want to disable all In-Band Registration
functionality, that is changing passwords in-band and deleting accounts
in-band, you have to remove \modregister{} from the modules list. In this
example all In-Band Registration functionality is disabled:
\item This configuration prohibits usage of In-Band Registration
to create or delete accounts,
but allows existing accounts to change the password:
\begin{verbatim}
{access, register, [{deny, all}]}.
{modules,
[
...
{mod_register, [{access, register}]},
...
]}.
\end{verbatim}
\item
This configuration disables all In-Band Registration
functionality: create, delete accounts and change password:
\begin{verbatim}
{modules,
[
...