mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 08:13:53 +00:00
Expect camelcase status codes from action=createaccount
Followup to efcf0a3f61b5bcdf5f9f6f716fa732b6afb9336e. Bug: 61663 Change-Id: I1c8f1b7cd8cdf74b84869d6a58e5f5ca24b62184
This commit is contained in:
parent
22e9a55a65
commit
bfcd41732d
|
@ -828,7 +828,7 @@ class SimpleCaptcha {
|
|||
* @return hook return value
|
||||
*/
|
||||
function addNewAccountApiResult( $apiModule, $loginPage, &$result ) {
|
||||
if ( $result['result'] !== 'success' && $this->needCreateAccountCaptcha() ) {
|
||||
if ( $result['result'] !== 'Success' && $this->needCreateAccountCaptcha() ) {
|
||||
$this->addCaptchaAPI( $result );
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue