[ejabberd] In-Band unregistration only seems to work together with registration

Badlop badlop at gmail.com
Thu Mar 8 13:51:44 MSK 2012

On 3 March 2012 22:56, Tobias Mueller
<4tmuelle at informatik.uni-hamburg.de> wrote:
> I want to allow clients to unregister themselves in-band. However, I have a separate registration process, i.e. out of band. Hence, I have "{access, register, [{deny, all}]}." in my config.
> From looking at the code at http://www.process-one.net/docs/ejabberd/devdoc/trunk/mod_register.erl.html it doesn't seem to be possible to not allow registration but allow unregistration.
> Is that correct?
> Is there any module that allows me to set up unregistration?

You are right and there isn't out-of-the-box solution that I'm aware.
However, a simple patch can break registration and keep unregistration.
The patch is in


More information about the ejabberd mailing list