Accept salted password hashes with :A: prefixes
authorTim Starling <tstarling@wikimedia.org>
Mon, 14 Nov 2016 23:54:44 +0000 (10:54 +1100)
committerTim Starling <tstarling@wikimedia.org>
Tue, 15 Nov 2016 00:01:59 +0000 (11:01 +1100)
commit7f40255ca259e53d2ca331798b8ded154804e140
treedf4ef32ab2bd4dbd278e3684006c0af1ecff2e04
parentc2467115b65a3e0ee153a7759d517f753b3c0079
Accept salted password hashes with :A: prefixes

Partially reverting Icb809274f9f63.

The broken :A: prefixed passwords generated by MW before that change
were apparently written back to the database -- there are 2.5M in enwiki
alone. Accepting them should not depend on $wgPasswordSalt, which is a
deprecated global and should soon be removed.

Change-Id: I772de0fb17245d080eb15a7d5df6bf3125e1f71a
includes/password/MWOldPassword.php