25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Add to example config file access_from comment

This commit is contained in:
Badlop 2011-01-28 17:13:44 +01:00
parent a09c319357
commit 0359e345b0

View File

@ -545,9 +545,17 @@
%% %%
%%{registration_watchers, ["admin1@example.org"]}, %%{registration_watchers, ["admin1@example.org"]},
%%
%% Only clients in the server machine can register accounts
%%
{ip_access, [{allow, "127.0.0.0/8"}, {ip_access, [{allow, "127.0.0.0/8"},
{deny, "0.0.0.0/0"}]}, {deny, "0.0.0.0/0"}]},
%%
%% Local c2s or remote s2s users cannot register accounts
%%
%%{access_from, deny},
{access, register} {access, register}
]}, ]},
%%{mod_register_web, [ %%{mod_register_web, [