Skip to content

Commit 90d8c02

Browse files
Parent5446reedy
authored andcommitted
Set $wgPasswordDefault to old MD5
In order to unblock changes to core defaults, specifically set WMF wikis' password hashing to use the current MD5 scheme until we are ready to change over to PBKDF2. Bug: 68766 Change-Id: I92164509268ad5865c42493d74c26c238a68d228
1 parent 3486ef2 commit 90d8c02

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎wmf-config/CommonSettings.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ function wmfLoadInitialiseSettings( $conf ) {
361361
$wgSessionsInObjectCache = true;
362362
session_name( $lang . 'wikiSession' );
363363

364+
// Keep old MD5 password hashing as default (bug 68766)
365+
$wgPasswordDefault = 'B';
366+
364367
# Not CLI, see http://bugs.php.net/bug.php?id=47540
365368
if ( PHP_SAPI != 'cli' ) {
366369
ignore_user_abort( true );

0 commit comments

Comments
 (0)