passCaptcha was made protected in I0da671a546700110d789b79a3089460abd9cce3b,
but some other extensions used it, provide passCaptchaFromRequest as a
replacement.
Bug: T135477
Change-Id: I47b2e2fbe3e063cd86e8a2d6bc17ca939472dbe1
Also remove references to "two words" from ReCaptcha labels.
The captcha image doesn't always contain two words.
Bug: T110302
Change-Id: I544656289480056152a1db195babb6dadf29bc71
Also update MathCaptcha so that it works with recent versions of
Math (and breaks with old ones). Also fix MathCaptcha API output,
which used to send the question in plaintext.
Bug: T110302
Change-Id: I0da671a546700110d789b79a3089460abd9cce3b
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
Use reCaptcha's "hl" parameter with language code from display language code.
It's tolerant to unknown codes--works as before: displays in browser language.
Bug: T122300
Change-Id: I3aac1aed12bc4b2603d225c1a386a73197f411a0
$info is a Status object, but the function logCheckError called
getErrorsArray() on $status (which is an undefined variable), thus it threw an
exception.
Change-Id: I93a52f31134a849e064945b653a13392b2f92d08
It seems that logCheckError() works fine for logging errors, so
I changed any logStatusError() calls into logCheckError() ones.
Change-Id: I4dc6fe0c7ddc10f388f43caa928fefce1a0dac3a