0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed missing Bluebird require in security/password.js (#9624)

no issue
This commit is contained in:
Ivan Akulov 2018-05-29 00:01:01 +03:00 committed by Katharina Irrgang
parent 6c1e5511fc
commit 7f696c0b50

View file

@ -1,3 +1,5 @@
const Promise = require('bluebird');
module.exports.hash = function hash(plainPassword) {
const bcrypt = require('bcryptjs'),
bcryptGenSalt = Promise.promisify(bcrypt.genSalt),