HomePhabricator

* Change $wgCaptchaBadLoginAttempts to be inclusive of the first attempt, so…

Description

  • Change $wgCaptchaBadLoginAttempts to be inclusive of the first attempt, so that the old default is 1. 0 now really means that 0 bad logins are tolerated before the captcha is displayed, i.e., it's always displayed even with no bad logins. This seems to make more sense (certainly compared to setting it to -1 to always display the captcha).
  • Set the default to 3 instead of 1, to be more forgiving of mistyped passwords. Unlikely to help bots much; quite likely to help blind people who aren't really really really careful typers.
  • Commit some whitespace change I had lying around.

Details

Provenance
simetricalAuthored on
Parents
rSVN36958: Revert r36816 for the moment (Add $wgAdditionalXMLTypes, an array of XML…
Branches
Unknown
Tags
Unknown
ChangeId
None