jenkins-bot has submitted this change and it was merged.
Change subject: Set initial Staff password policy
......................................................................
Set initial Staff password policy
Increase minimum length to 8-bytes.
Bug: T104370
Change-Id: Ifc12c74d5382f8adc1c261c8d6c12ef5892bf642
---
M wmf-config/CommonSettings.php
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Reedy: Looks good to me, but someone else must approve
Catrope: Looks good to me, approved
Luke081515: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index fbedeeb..dc1c00f 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -331,6 +331,14 @@
unset( $wgPasswordPolicy['policies']['bureaucrat']['PasswordCannotBePopular']
);
unset( $wgPasswordPolicy['policies']['sysop']['PasswordCannotBePopular'] );
+// Require 8-byte password for staff. Set MinimumPasswordLengthToLogin
+// to 8 also, once staff have time to update.
+$wgPasswordPolicy['policies']['staff'] = array(
+ 'MinimalPasswordLength' => 8,
+ 'MinimumPasswordLengthToLogin' => 1,
+ 'PasswordCannotMatchUsername' => true,
+ 'PasswordCannotBePopular' => 25,
+);
if ( PHP_SAPI === 'cli' ) {
$wgShowExceptionDetails = true;
--
To view, visit https://gerrit.wikimedia.org/r/222057
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifc12c74d5382f8adc1c261c8d6c12ef5892bf642
Gerrit-PatchSet: 4
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: CSteipp <[email protected]>
Gerrit-Reviewer: CSteipp <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Luke081515 <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits