From 4b35832bd55c53ce23081228ce606d921cdad376 Mon Sep 17 00:00:00 2001 From: paladox Date: Sat, 14 Oct 2023 14:09:59 +0100 Subject: [PATCH] Set wgCentralAuthStrict to true (#5329) Only allows those with a global account to login. --- GlobalSettings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GlobalSettings.php b/GlobalSettings.php index 61b6a58694..1d58fa3c3f 100644 --- a/GlobalSettings.php +++ b/GlobalSettings.php @@ -14,6 +14,9 @@ $wgCookieSameSite = 'None'; $wgUseSameSiteLegacyCookies = true; + + // Only allow users with global accounts to login + $wgCentralAuthStrict = true; } if ( $wi->isExtensionActive( 'chameleon' ) ) {