From 4be5c0c90cfe20d6c313d1c9a8722f4995d2e0b6 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 20 Aug 2009 21:43:55 +0000 Subject: [PATCH] Show example config to disable account create/delete, and allow password change. SVN Revision: 2512 --- doc/guide.html | 16 +++++++++++----- doc/guide.tex | 19 ++++++++++++++----- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/doc/guide.html b/doc/guide.html index c71fb4e9d..29eb80f24 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2857,14 +2857,20 @@ Next example prohibits the registration of too short account names: {mod_register, [{access, register}]}, ... ]}. -
  • The in-band registration of new accounts can be prohibited by changing the -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 mod_register from the modules list. In this -example all In-Band Registration functionality is disabled: +
  • This configuration prohibits usage of In-Band Registration +to create or delete accounts, +but allows existing accounts to change the password:
    {access, register, [{deny, all}]}.
     
     {modules,
    + [
    +  ...
    +  {mod_register, [{access, register}]},
    +  ...
    + ]}.
    +
  • This configuration disables all In-Band Registration +functionality: create, delete accounts and change password: +
    {modules,
      [
       ...
       %% {mod_register, [{access, register}]},
    diff --git a/doc/guide.tex b/doc/guide.tex
    index 036ec36ef..0318d8939 100644
    --- a/doc/guide.tex
    +++ b/doc/guide.tex
    @@ -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,
      [
       ...