Skip to content

Commit

Permalink
Set wgCentralAuthStrict to true (#5329)
Browse files Browse the repository at this point in the history
Only allows those with a global account to login.
  • Loading branch information
paladox authored Oct 14, 2023
1 parent ae4080e commit 4b35832
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GlobalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

$wgCookieSameSite = 'None';
$wgUseSameSiteLegacyCookies = true;

// Only allow users with global accounts to login
$wgCentralAuthStrict = true;
}

if ( $wi->isExtensionActive( 'chameleon' ) ) {
Expand Down

0 comments on commit 4b35832

Please sign in to comment.