Is there a module or procedure to only allow, say an admin account only, to create new user accounts? I'm working on a website where when a user creates a new account on the website, my back end also creates a new xmpp account for the user with the same login they used to register on my site.
I am currently making this work on python using xmpppy library and creating an in-band register packet to my ejabberd server. The problem is that since my ejabberd server is allowing for in-band registration, I guess if anyone is clever or would bother to, they can also create new accounts since the xmpp server allows for it.
EDIT:
Openfire has a plugin which would have been a good solution had ejabberd had something like this.
it basically provides admins a secret key that could be used to allow new account registration.
Also seems like the forums on ejabberd are dead usually lol
> only allow, say an admin
> only allow, say an admin account only, to create new user accounts?
> I am currently making this work on python using xmpppy library and creating an in-band register packet to my ejabberd server.
mod_register in ejabberd 2.0.5 or 2.1.0 don't include such feature.
But you have a useful patch:Option to restrict which IPs are allowed to register account