@ -1,9 +1,10 @@
{
"name": "Isekai OpenID Connect",
"namemsg": "isekai-oidc-name",
"author": "hyperzlib",
"version": "1.1.0",
"url": "https://www.isekai.cn",
"descriptionmsg": "ucenter-desc",
"descriptionmsg": "isekai-oidc-desc",
"license-name": "MIT",
"type": "other",
"requires": {
@ -1,4 +1,7 @@
"isekai-oidc-name": "Isekai OpenID Connect",
"isekai-oidc-desc": "Login by OpenID",
"isekaioidc-loginbutton": "Isekai Account Login",
"isekaioidc-loginbutton-help": "Login with Isekai Project Account",
"isekaioidc-login-failed": "Unknow error while OIDC",
"isekai-oidc-name": "异世界百科 OpenID Connect",
"isekai-oidc-desc": "使用OpenID登录账号",
"isekaioidc-loginbutton": "异世界百科账号登录",
"isekaioidc-loginbutton-help": "使用异世界百科账号登录",
"isekaioidc-login-failed": "无法登录,请求中发生错误",
@ -22,7 +22,7 @@ class ApiOidcWebhook extends ApiBase {
if (isset($wgIsekaiOIDC['webhookKey'])) {
if (!isset($queryValues['key']) || $queryValues['key'] !== $wgIsekaiOIDC['webhookKey']) {
$this->addError('isekaioidc-api-key-invalid', '-1', [ 'provider' => $provider ]);
$this->addError('isekaioidc-api-key error', '-1', [ 'provider' => $provider ]);
return;
}