From: Brad Jorsch Date: Wed, 18 May 2016 15:48:50 +0000 (-0400) Subject: Increase BotPasswordSessionProvider's default priority X-Git-Tag: 1.31.0-rc.0~6930^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f00b09f0693391e8fca06d180b3a80fc8833165a;p=lhc%2Fweb%2Fwiklou.git Increase BotPasswordSessionProvider's default priority CentralAuthSessionProvider is using 50, BotPasswordSessionProvider needs to be higher than that. Since the current 40 is a bit close to CookieSessionProvider's 30, let's go higer here instead of lowering CentralAuth. Change-Id: I1230d23c53dacc8e01db955507aacba0e98e62d3 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 0b70d1632b..d6db388573 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4844,7 +4844,7 @@ $wgSessionProviders = [ MediaWiki\Session\BotPasswordSessionProvider::class => [ 'class' => MediaWiki\Session\BotPasswordSessionProvider::class, 'args' => [ [ - 'priority' => 40, + 'priority' => 75, ] ], ], ];