Skip to content

Commit

Permalink
Update GlobalSettings.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Oct 14, 2023
1 parent 5d18b3f commit c88ff42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GlobalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
if ( isset( $wgAuthManagerAutoConfig['primaryauth'][\MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class] ) ) {
$wgAuthManagerAutoConfig['primaryauth'][\MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class]['args'][0]['loginOnly'] = true;
}

$wgPasswordConfig['null'] = [ 'class' => InvalidPassword::class ];
}

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

0 comments on commit c88ff42

Please sign in to comment.