diff --git a/server/controllers/auth.js b/server/controllers/auth.js index 283e782..95b01da 100644 --- a/server/controllers/auth.js +++ b/server/controllers/auth.js @@ -29,7 +29,7 @@ exports.signup = (req, res, next) => { const name = req.body.name; bcrypt - .hash(password, bcryptSalt) + .hash(password, +bcryptSalt) .then((hashedPwd) => { const user = new User({ email: email,