Restore hack which allowed importing projects.b.o passwords
This commit is contained in:
@@ -289,9 +289,11 @@ final class PhabricatorUser
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function getPasswordHashInput(PhutilOpaqueEnvelope $password) {
|
private function getPasswordHashInput(PhutilOpaqueEnvelope $password) {
|
||||||
|
/* phabricator hashing is modified to add an extra md5(), so that we can
|
||||||
|
* import md5 hashed passwords from gforge and keep them working */
|
||||||
$input =
|
$input =
|
||||||
$this->getUsername().
|
$this->getUsername().
|
||||||
$password->openEnvelope().
|
md5($password->openEnvelope()).
|
||||||
$this->getPHID().
|
$this->getPHID().
|
||||||
$this->getPasswordSalt();
|
$this->getPasswordSalt();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user