[ejabberd] disable unregistration

Badlop badlop at gmail.com
Wed Apr 27 01:00:55 MSD 2011


> On Sun, Apr 24, 2011 at 12:26:37AM +0200, Badlop wrote:
>> Not configurable, but easy to disable in the source code:

2011/4/24 Konstantin Khomoutov <flatworm at users.sourceforge.net>:
> This code cries to include to return IQ error on that path instead of
> just doing nothing.

Ok, I wrote a better solution, discussed it with Konstantin, and
finally pushed it here:
https://github.com/processone/ejabberd/commit/4f4c8eb61eba2fcf35e4d6f9e7c13c2576ebe60c

Sergio: to support password change and disable account
registration/unregistration, apply the patch I linked, and configure
like this:

{access, register, [{deny, all}]}.

{modules, [
  {mod_register, [{access, register}]},
   ...
]}.



---
Badlop
ProcessOne


More information about the ejabberd mailing list