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
Sat, Feb 22, 3:37 PM (4 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7181542
Default Alt Text
D8808.diff (570 B)

Event Timeline