From fc9efe67d599b01b31b440b26a62f3c96ed80451 Mon Sep 17 00:00:00 2001 From: Dayllan Maza Date: Mon, 10 Dec 2018 17:42:43 -0500 Subject: [PATCH] Increase default minimum password length on privileged groups and bots Minimum password length is now 10 by default on privileged groups (bureaucrat, sysop, interface-admin), and bots. Bug: T208246 Change-Id: I373c5c6865b90cdc5c4848266c5996dd190f6001 --- includes/DefaultSettings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 0acce58339..ced84be19b 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4478,28 +4478,28 @@ $wgCentralIdLookupProvider = 'local'; $wgPasswordPolicy = [ 'policies' => [ 'bureaucrat' => [ - 'MinimalPasswordLength' => 8, + 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, 'PasswordCannotBePopular' => 25, 'PasswordNotInLargeBlacklist' => true, ], 'sysop' => [ - 'MinimalPasswordLength' => 8, + 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, 'PasswordCannotBePopular' => 25, 'PasswordNotInLargeBlacklist' => true, ], 'interface-admin' => [ - 'MinimalPasswordLength' => 8, + 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, 'PasswordCannotBePopular' => 25, 'PasswordNotInLargeBlacklist' => true, ], 'bot' => [ - 'MinimalPasswordLength' => 8, + 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, 'PasswordNotInLargeBlacklist' => true, -- 2.20.1