Hi there
Need some help to understand how to make new user password creation and changing:
1. Can I get new user password automaticly? (f.e. user:"acid@jabber.run.ua" - and the generated password should be "acid") - is it possible?
2. Is it possible to make a new user password change dialog box right after first enter using automaticly generated password? (to change first password forcibly)
Thanks
ejabberd provides three ways
ejabberd provides three ways to create an account:
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.
If you also want to set a different password using the command line, try the contributed module mod_ctlextra and its command set-password.
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.
And the last alternative I can think if is to modify the contributed module mod_register_web to suit your needs.