From 0359e345b040c8659e4705438f485039fdca3134 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 28 Jan 2011 17:13:44 +0100 Subject: [PATCH] Add to example config file access_from comment --- src/ejabberd.cfg.example | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example index a95689b35..cb6d31355 100644 --- a/src/ejabberd.cfg.example +++ b/src/ejabberd.cfg.example @@ -545,9 +545,17 @@ %% %%{registration_watchers, ["admin1@example.org"]}, + %% + %% Only clients in the server machine can register accounts + %% {ip_access, [{allow, "127.0.0.0/8"}, {deny, "0.0.0.0/0"}]}, + %% + %% Local c2s or remote s2s users cannot register accounts + %% + %%{access_from, deny}, + {access, register} ]}, %%{mod_register_web, [