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 c19a0c9942
commit e9d1d34739

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),