API: Up default wait-time on failed log-in to five seconds. One is too easy to get...
authorDaniel Cannon <amidaniel@users.mediawiki.org>
Sun, 18 Nov 2007 05:42:08 +0000 (05:42 +0000)
committerDaniel Cannon <amidaniel@users.mediawiki.org>
Sun, 18 Nov 2007 05:42:08 +0000 (05:42 +0000)
includes/api/ApiLogin.php

index 851b531..72b1dcd 100644 (file)
@@ -40,7 +40,7 @@ class ApiLogin extends ApiBase {
         * Time (in seconds) a user must wait after submitting
         * a bad login (will be multiplied by the THROTTLE_FACTOR for each bad attempt)
         */
-       const THROTTLE_TIME = 1;
+       const THROTTLE_TIME = 5;
 
        /**
         * The factor by which the wait-time in between authentication