From e7179279e5879167ac4a0b317eb050b9b2adb1b5 Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Sun, 18 Nov 2007 05:42:08 +0000 Subject: [PATCH] API: Up default wait-time on failed log-in to five seconds. One is too easy to get around. --- includes/api/ApiLogin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiLogin.php b/includes/api/ApiLogin.php index 851b531441..72b1dcdf75 100644 --- a/includes/api/ApiLogin.php +++ b/includes/api/ApiLogin.php @@ -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 -- 2.20.1