diff options
author | Badlop <badlop@process-one.net> | 2009-08-20 21:43:55 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-08-20 21:43:55 +0000 |
commit | 4be5c0c90cfe20d6c313d1c9a8722f4995d2e0b6 (patch) | |
tree | b04d872a5c337fb4d4855009644a826f3b6def43 /doc | |
parent | Update Czech translation (thanks to Lukáš Polívka) (diff) |
Show example config to disable account create/delete, and allow password change.
SVN Revision: 2512
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 16 | ||||
-rw-r--r-- | doc/guide.tex | 19 |
2 files changed, 25 insertions, 10 deletions
diff --git a/doc/guide.html b/doc/guide.html index c71fb4e9..29eb80f2 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2857,16 +2857,22 @@ 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}]}, ... ]}. diff --git a/doc/guide.tex b/doc/guide.tex index 036ec36e..0318d893 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -3657,17 +3657,26 @@ 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, + [ + ... %% {mod_register, [{access, register}]}, ... ]}. |