node-js-express-login-mongodb
node-js-express-login-mongodb copied to clipboard
Login and Registration example with Node.js Express and MongoDB using Mongoose, JWT, HTTP Cookies
C:\Users\acer\Desktop\product-poc\node_modules\bcryptjs\dist\bcrypt.js:189 throw Error("Illegal arguments: "+(typeof s)+', '+(typeof salt)); ^ Error: Illegal arguments: undefined, string at Object.bcrypt.hashSync (C:\Users\acer\Desktop\product-poc\node_modules\bcryptjs\dist\bcrypt.js:189:19) at exports.signup (C:\Users\acer\Desktop\product-poc\app\controllers\auth.controller.js:11:36) at Layer.handle [as handle_request] (C:\Users\acer\Desktop\product-poc\node_modules\express\lib\router\layer.js:95:5) at next (C:\Users\acer\Desktop\product-poc\node_modules\express\lib\router\route.js:144:13) at checkRolesExisted...