Adjust the mime type of reCaptcha

Bug: T284894
Change-Id: I53072f2ce825720bb2d93a39bb6539722b59b394
This commit is contained in:
Func 2021-12-09 06:54:29 +00:00
parent 63ece1e58b
commit 1f335f0d95

View file

@ -162,7 +162,7 @@ HTML;
global $wgReCaptchaSiteKey;
return [
'type' => 'recaptchanocaptcha',
'mime' => 'image/png',
'mime' => 'application/javascript',
'key' => $wgReCaptchaSiteKey,
];
}