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

SVN Revision: 2512
This commit is contained in:
Badlop 2009-08-20 21:43:55 +00:00
parent f9119a3ec6
commit 4be5c0c90c
2 changed files with 25 additions and 10 deletions

View File

@ -2857,14 +2857,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

@ -3657,14 +3657,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,
[
...