]> 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:16:36 +0000 (17:16 +0100)
src/ejabberd.cfg.example

index c90a3894396d5e0bf28e946ef4dc3442ee5be95c..81a44e4efed2428e5c00ee7d1706cbe2eb7470ff 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, [