diff --git a/controllers/userControllers.js b/controllers/userControllers.js index c4b63f8..d711fde 100644 --- a/controllers/userControllers.js +++ b/controllers/userControllers.js @@ -28,7 +28,8 @@ module.exports.registerUser = (request, response) => { const newUser = new User({ email: reqBody.email, - password: bcrypt.hashSync(reqBody.password, 10) + password: bcrypt.hashSync(reqBody.password, 10), + mobileNo: reqBody.mobileNo }) newUser.save().then(save => {