]> granicus.if.org Git - ejabberd/commitdiff
Show example config to disable account create/delete, and allow password change.
authorBadlop <badlop@process-one.net>
Thu, 20 Aug 2009 21:43:55 +0000 (21:43 +0000)
committerBadlop <badlop@process-one.net>
Thu, 20 Aug 2009 21:43:55 +0000 (21:43 +0000)
SVN Revision: 2512

doc/guide.html
doc/guide.tex

index c71fb4e9dbec40bca7388d42b93cad6db0576bf7..29eb80f24de7d40adb9d45c0a386f74a1b33928f 100644 (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}]},
index 036ec36efeb7de74068609c13751decbc611a8a3..0318d89391f76ae454a2f50d585f74f00b69e2fc 100644 (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,
  [
   ...