Hello,
I'm using ejabberd as a transport layer for my application server and i register accounts from Java code. In ejabberd 2.1.2 i used this configuration:
%% In-band registration
{access, register, [{allow, all}]}.
But it seems that it is not working in 2.1.3. I read about the new access_from providing "backward compatibility". Does anybody know how it works? I haven't found any documentation for it.
Thanks in advance!
Re: How "access_from" is working?
You need to define access_from option in mod_register module. For example, if you have:
{access, register, [{allow, all}]}.
Then
...
{mod_register, [{access_from, register}]},
...
allows you to register new accounts from any jid (including those from s2s).
Thank you very much! :)
Thank you very much! :)