mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Show example config to disable account create/delete, and allow password change.
SVN Revision: 2513
This commit is contained in:
parent
ec26a28cd2
commit
d05565c6e0
@ -2759,14 +2759,20 @@ Next example prohibits the registration of too short account names:
|
|||||||
{mod_register, [{access, register}]},
|
{mod_register, [{access, register}]},
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
</PRE></LI><LI CLASS="li-itemize">The in-band registration of new accounts can be prohibited by changing the
|
</PRE></LI><LI CLASS="li-itemize">This configuration prohibits usage of In-Band Registration
|
||||||
<TT>access</TT> option. If you really want to disable all In-Band Registration
|
to create or delete accounts,
|
||||||
functionality, that is changing passwords in-band and deleting accounts
|
but allows existing accounts to change the password:
|
||||||
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 CLASS="verbatim">{access, register, [{deny, all}]}.
|
<PRE CLASS="verbatim">{access, register, [{deny, all}]}.
|
||||||
|
|
||||||
{modules,
|
{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}]},
|
%% {mod_register, [{access, register}]},
|
||||||
|
@ -3540,14 +3540,23 @@ Examples:
|
|||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\item The in-band registration of new accounts can be prohibited by changing the
|
\item This configuration prohibits usage of In-Band Registration
|
||||||
\option{access} option. If you really want to disable all In-Band Registration
|
to create or delete accounts,
|
||||||
functionality, that is changing passwords in-band and deleting accounts
|
but allows existing accounts to change the password:
|
||||||
in-band, you have to remove \modregister{} from the modules list. In this
|
|
||||||
example all In-Band Registration functionality is disabled:
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
{access, register, [{deny, all}]}.
|
{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,
|
{modules,
|
||||||
[
|
[
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user