From f00b09f0693391e8fca06d180b3a80fc8833165a Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 18 May 2016 11:48:50 -0400 Subject: [PATCH] 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 --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ] ], ], ]; -- 2.20.1