From e9d1d34739c3d2a14b3a781f515aec4645f80d9b Mon Sep 17 00:00:00 2001 From: Ivan Akulov Date: Tue, 29 May 2018 00:01:01 +0300 Subject: [PATCH] Fixed missing Bluebird require in `security/password.js` (#9624) no issue --- ghost/security/lib/password.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost/security/lib/password.js b/ghost/security/lib/password.js index 3e794472d1..28e5667576 100644 --- a/ghost/security/lib/password.js +++ b/ghost/security/lib/password.js @@ -1,3 +1,5 @@ +const Promise = require('bluebird'); + module.exports.hash = function hash(plainPassword) { const bcrypt = require('bcryptjs'), bcryptGenSalt = Promise.promisify(bcrypt.genSalt),