Page MenuHomePhabricator

D8808.diff
No OneTemporary

D8808.diff

diff --git a/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php b/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php
--- a/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php
+++ b/src/infrastructure/util/password/PhabricatorBcryptPasswordHasher.php
@@ -38,7 +38,7 @@
'cost' => $this->getBcryptCost(),
);
- $raw_hash = password_hash($raw_input, CRYPT_BLOWFISH, $options);
+ $raw_hash = password_hash($raw_input, PASSWORD_BCRYPT, $options);
return new PhutilOpaqueEnvelope($raw_hash);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 25, 1:02 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6713965
Default Alt Text
D8808.diff (570 B)

Event Timeline