diff options
| author | 2025-03-25 10:19:51 +0100 | |
|---|---|---|
| committer | 2025-03-25 10:19:51 +0100 | |
| commit | d0b961131939800a119801bfce7411ad2e429e9e (patch) | |
| tree | 36905ee474193a225fde693d0e179616333e595b /app/Utils/passwordUtil.php | |
| parent | 9e8c306b3edbda071cdd9cc93bcc45055789ad42 (diff) | |
Update bcrypt.js from 2.4.4 to 3.0.2 (#7449)
https://github.com/dcodeIO/bcrypt.js/releases/tag/v3.0.0
Can be updated to the latest version with:
`curl -L https://unpkg.com/bcryptjs/umd/index.js > p/scripts/vendor/bcrypt.js`
Diffstat (limited to 'app/Utils/passwordUtil.php')
| -rw-r--r-- | app/Utils/passwordUtil.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/Utils/passwordUtil.php b/app/Utils/passwordUtil.php index 47587d336..76c5455c5 100644 --- a/app/Utils/passwordUtil.php +++ b/app/Utils/passwordUtil.php @@ -15,13 +15,6 @@ class FreshRSS_password_Util { PASSWORD_BCRYPT, ['cost' => self::BCRYPT_COST] ); - - // Compatibility with bcrypt.js - $passwordHash = preg_replace('/^\$2[xy]\$/', '\$2a\$', $passwordHash); - - if ($passwordHash === '' || $passwordHash === null) { - return ''; - } return $passwordHash; } |
