X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiLogin.php;h=02aae06e808170c2a912bb2fb54b8f9c691362c3;hb=5360a3497f31ce5af167746bf33375da5f32e061;hp=a6e6c49d79f91c4fc8cfecca2b7c3c51b8a0b256;hpb=929fad38095b1e10dae3d7af385afd4bfd223c25;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiLogin.php b/includes/api/ApiLogin.php index a6e6c49d79..02aae06e80 100644 --- a/includes/api/ApiLogin.php +++ b/includes/api/ApiLogin.php @@ -208,7 +208,6 @@ class ApiLogin extends ApiBase { case LoginForm::THROTTLED: $result['result'] = 'Throttled'; - $throttle = $this->getConfig()->get( 'PasswordAttemptThrottle' ); $result['wait'] = intval( $loginForm->mThrottleWait ); break;