Skip to content

Commit

Permalink
Set $wgPasswordDefault to old MD5
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Parent5446 authored and reedy committed Aug 14, 2014
1 parent 3486ef2 commit 90d8c02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wmf-config/CommonSettings.php
Expand Up @@ -361,6 +361,9 @@ function wmfLoadInitialiseSettings( $conf ) {
$wgSessionsInObjectCache = true;
session_name( $lang . 'wikiSession' );

// Keep old MD5 password hashing as default (bug 68766)
$wgPasswordDefault = 'B';

# Not CLI, see http://bugs.php.net/bug.php?id=47540
if ( PHP_SAPI != 'cli' ) {
ignore_user_abort( true );
Expand Down

0 comments on commit 90d8c02

Please sign in to comment.