summaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-11-04 22:34:18 +0100
committerBadlop <badlop@process-one.net>2010-11-05 18:19:52 +0100
commitf672fd0824004d0d4ce2207b9dfb0b596a539aef (patch)
tree233801ca09330613603f88cf3d3084fe57edfb1e /doc/guide.tex
parentDisable LRU caching algorithm for LDAP shared rosters (diff)
Added mod_register_web: web page for account registration (EJAB-471)
Diffstat (limited to 'doc/guide.tex')
-rw-r--r--doc/guide.tex45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index 51804e22..4fdb43b2 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -88,6 +88,7 @@
\newcommand{\modpubsub}{\module{mod\_pubsub}}
\newcommand{\modpubsubodbc}{\module{mod\_pubsub\_odbc}}
\newcommand{\modregister}{\module{mod\_register}}
+\newcommand{\modregisterweb}{\module{mod\_register\_web}}
\newcommand{\modroster}{\module{mod\_roster}}
\newcommand{\modrosterodbc}{\module{mod\_roster\_odbc}}
\newcommand{\modservicelog}{\module{mod\_service\_log}}
@@ -2530,6 +2531,7 @@ The following table lists all modules included in \ejabberd{}.
\hline \ahrefloc{modpubsub}{\modpubsub{}} & Pub-Sub (\xepref{0060}), PEP (\xepref{0163}) & \modcaps{} \\
\hline \ahrefloc{modpubsub}{\modpubsubodbc{}} & Pub-Sub (\xepref{0060}), PEP (\xepref{0163}) & supported DB (*) and \modcaps{} \\
\hline \ahrefloc{modregister}{\modregister{}} & In-Band Registration (\xepref{0077}) & \\
+ \hline \ahrefloc{modregisterweb}{\modregisterweb{}} & Web for Account Registrations & \\
\hline \ahrefloc{modroster}{\modroster{}} & Roster management (XMPP IM) & \\
\hline \ahrefloc{modroster}{\modrosterodbc{}} & Roster management (XMPP IM) & supported DB (*) \\
\hline \ahrefloc{modservicelog}{\modservicelog{}} & Copy user messages to logger service & \\
@@ -3862,6 +3864,49 @@ Also define a registration timeout of one hour:
\end{verbatim}
\end{itemize}
+\makesubsection{modregisterweb}{\modregisterweb{}}
+\ind{modules!\modregisterweb{}}
+
+This module provides a web page where people can:
+\begin{itemize}
+\item Register a new account on the server.
+\item Change the password from an existing account on the server.
+\item Delete an existing account on the server.
+\end{itemize}
+
+This module supports CAPTCHA image to register a new account.
+To enable this feature, configure the options captcha\_cmd and captcha\_host.
+
+Options:
+\begin{description}
+\titem{\{registration\_watchers, [ JID, ...]\}} \ind{options!rwatchers}This option defines a
+ list of JIDs which will be notified each time a new account is registered.
+\end{description}
+
+This example configuration shows how to enable the module and the web handler:
+\begin{verbatim}
+{listen, [
+ ...
+ {5281, ejabberd_http, [
+ tls,
+ {certfile, "/etc/ejabberd/certificate.pem"},
+ register
+ ]},
+ ...
+]}.
+
+{modules,
+ [
+ ...
+ {mod_register_web, []},
+ ...
+ ]}.
+\end{verbatim}
+
+The users can visit this page: https://localhost:5281/register/
+It is important to include the last / character in the URL,
+otherwise the subpages URL will be incorrect.
+
\makesubsection{modroster}{\modroster{}}
\ind{modules!\modroster{}}\ind{roster management}\ind{protocols!RFC 3921: XMPP IM}