From: Daniel Cannon Date: Sun, 18 Nov 2007 05:42:08 +0000 (+0000) Subject: API: Up default wait-time on failed log-in to five seconds. One is too easy to get... X-Git-Tag: 1.31.0-rc.0~50831 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=e7179279e5879167ac4a0b317eb050b9b2adb1b5;p=lhc%2Fweb%2Fwiklou.git API: Up default wait-time on failed log-in to five seconds. One is too easy to get around. --- 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