]> ToastFreeware Gitweb - toast/cookiecaptcha.git/blobdiff - ConfirmEdit.php
Rebuild all extension messages files supported by Translate
[toast/cookiecaptcha.git] / ConfirmEdit.php
index d632fb869988234a10ff817c7b74556630e0d245..5c3647a2ba62745c0abe0895a126b1fa68e929f2 100644 (file)
@@ -147,6 +147,13 @@ $wgCaptchaBadLoginExpiration = 5 * 60;
 global $ceAllowConfirmedEmail;
 $ceAllowConfirmedEmail = false;
 
+/** 
+ * Number of bad login attempts before triggering the captcha.  0 means the
+ * captcha is presented on the first login.
+ */
+global $wgCaptchaBadLoginAttempts;
+$wgCaptchaBadLoginAttempts = 3;
+
 /**
  * Regex to whitelist URLs to known-good sites...
  * For instance: