]> granicus.if.org Git - ejabberd/commitdiff
Add CAPTCHA example configurations to cfg (EJAB-1262)(EJAB-1326)
authorBadlop <badlop@process-one.net>
Mon, 25 Oct 2010 16:57:39 +0000 (18:57 +0200)
committerBadlop <badlop@process-one.net>
Mon, 25 Oct 2010 16:57:39 +0000 (18:57 +0200)
src/ejabberd.cfg.example

index 4087947b6f6acda3acc181f9921c60197ec7f920..d05ca8e67f8827601f93e2bddf85bfba93f89fbb 100644 (file)
                  {plugins, ["flat", "hometree", "pep"]}  % pep requires mod_caps
                 ]},
   {mod_register, [
+                 %%
+                 %% Protect In-Band account registrations with CAPTCHA.
+                 %%
+                 %%{captcha_protected, true}.
+
+                 %%
+                 %% Set the minimum informational entropy for passwords.
+                 %%
+                 %%{password_strength, 32}.
+
                  %%
                  %% After successful registration, the user receives
                  %% a message with this subject and body.