From 7f696c0b50ff18faa948ac0c33064bd1e4c17292 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 --- core/server/lib/security/password.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/server/lib/security/password.js b/core/server/lib/security/password.js index 3e794472d1..28e5667576 100644 --- a/core/server/lib/security/password.js +++ b/core/server/lib/security/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),