From 70075a996b0384f124400e3f968e8c40438f6f88 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Mon, 15 May 2023 16:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9ResourceLoader=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=A4=B4=E5=83=8F=E5=9C=B0=E5=9D=80=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/IsekaiOIDCAuthHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/IsekaiOIDCAuthHooks.php b/includes/IsekaiOIDCAuthHooks.php index d556f84..ad39f61 100644 --- a/includes/IsekaiOIDCAuthHooks.php +++ b/includes/IsekaiOIDCAuthHooks.php @@ -166,7 +166,7 @@ class IsekaiOIDCAuthHooks { $wgIsekaiOIDC = $services->getMainConfig()->get('IsekaiOIDC'); if (isset($wgIsekaiOIDC['avatarUrl'])) { - $vars['wgAvatarTemplate'] = $wgIsekaiOIDC['avatarUrl']; + $vars['wgAvatarTemplate'] = '/api.php?action=query&prop=oidcavatar&username={username}&redirect=1&format=json'; } return true; }