ejabberd - Comments for "New user password creation and changing"
https://www.ejabberd.im/node/3075
enejabberd provides three ways
https://www.ejabberd.im/node/3075#comment-53226
<p>ejabberd provides three ways to create an account:</p>
<ol>
<li>Anybody, using a jabber client and In-Band Registration (implemented in mod_register)
</li><li>The admin, using Web Admin
</li><li>The admin or a system script, calling:<br />
<pre>$ ejabberdctl register bob localhost pass123</pre></li></ol>
<p>It seems none of those ways is up to you. You can modify mod_register to suit your needs. Or you could write a web application (in PHP or whatever) than calls ejabberdctl to create the account.</p>
<p>If you also want to set a different password using the command line, try the contributed module mod_ctlextra and its command set-password.</p>
<p>Another solution would be that you write a web app that calls ejabberd using XML-RPC. In this case you would need to install mod_xmlrpc.</p>
<p>And the last alternative I can think if is to modify the contributed module mod_register_web to suit your needs.</p>
Sun, 01 Jun 2008 21:58:42 +0000mfosscomment 53226 at https://www.ejabberd.im