Thread:Extension talk:ConfirmEdit/ConfirmEdit SimpleCaptcha only works for 1 wgCaptchaBadLoginAttempts

Hi,

I have the below configuration of my ConfirmEdit.php. My ConfirmEdit version is from Mediwiki 1.20.

$wgGroupPermissions['*'           ]['skipcaptcha'] = false; $wgGroupPermissions['user'        ]['skipcaptcha'] = false; $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false; $wgGroupPermissions['bot'         ]['skipcaptcha'] = false; // registered bots $wgGroupPermissions['sysop'       ]['skipcaptcha'] = false; $wgAvailableRights[] = 'skipcaptcha';

$wgCaptchaTriggers['badlogin']     = true;  // Special:Userlogin after failure $wgCaptchaStorageClass = 'CaptchaSessionStore'; $wgCaptchaSessionExpiration = 30 * 60; $wgCaptchaBadLoginExpiration = 5 * 60; $wgCaptchaBadLoginAttempts = 3;

I also added this line to LocalSettings.php:

require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );

When I tried to logging in 3 times with wrong password, there is no SimpleCaptcha displaying. But when I change it the wgCaptchaBadLoginAttempts to 1, it works perfectly.

I would appreciate if anyone could share their knowledged and experience if do I have missing in the configuration or is it just a bug of ConfirmEdit extension?

Thanks. James