]> ToastFreeware Gitweb - toast/cookiecaptcha.git/blobdiff - ConfirmEdit.php
Localisation updates for extensions messages from Betawiki (2008-11-10 14:18 CET)
[toast/cookiecaptcha.git] / ConfirmEdit.php
index 2f7173e992d1e0e5b35f2d0554f970819275e7d6..cbf889098e8489003cb6d14850e2cdb6fd7288a2 100644 (file)
@@ -149,6 +149,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: