Don't check badlogin attempts in memcached if we are not configured to show captchas...
authorPlatonides <platonides@users.mediawiki.org>
Wed, 21 Dec 2011 23:39:53 +0000 (23:39 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 21 Dec 2011 23:39:53 +0000 (23:39 +0000)
commitc7b30198527052bc7db36acd3ee9e826bc1029db
tree9018555d962179153e4f8697c8ca3b799c558d60
parent2b77a28459c237841e243293ac0a16571d484811
Don't check badlogin attempts in memcached if we are not configured to show captchas on bad login.

Solves problem reported in http://www.mediawiki.org/w/index.php?title=Extension_talk:ConfirmEdit&offset=20111218172150#Banned_user_got_banned_until_he_logs_in_9982
where "$wgCaptchaTriggers['badlogin'] = false was set to disable that captcha, but as the user had already passed the threshold, it still was shown.
Captcha.php