]> granicus.if.org Git - ejabberd/commitdiff
Add to example config file access_from comment
authorBadlop <badlop@process-one.net>
Fri, 28 Jan 2011 16:13:44 +0000 (17:13 +0100)
committerBadlop <badlop@process-one.net>
Fri, 28 Jan 2011 16:13:44 +0000 (17:13 +0100)
src/ejabberd.cfg.example

index a95689b359318e5c5865e85a1fbf061ff93459ab..cb6d31355c5b8fa4cd54e49eade85394ce4960a8 100644 (file)
                  %%
                  %%{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, [