[ejabberd] Problem with mod_register

Badlop badlop at gmail.com
Mon Nov 19 16:40:04 MSK 2012


On 11 November 2012 21:12, Alex <alex323 at gmail.com> wrote:
> Hello. I am running ejabberd 2.1.11. I have set mod_register to deny
> registration from all users: [{deny,all}] (access_from and access).
>
> Even though all users (including admins) should be blocked from doing
> in-band registration, my admin account is still allowed to do so. Does
> anyone know why this might be?

Check your configuration. For me the feature works correctly, using
two different configurations:

One example config:
{modules, [
  {mod_register, [
                  {access_from, none},
                  {access, none}
                 ]},

Or another example config:
{access, register, [{deny, all}]}.
{access, registerfrom, [{deny, all}]}.
{modules, [
  {mod_register, [
                  {access_from, registerfrom},
                  {access, register}
                 ]},


---
Badlop
ProcessOne


More information about the ejabberd mailing list