Is there any way to allow a user to register on the local strategy with his password, email and name? Every example I could find online only use name/password or email/p
UserModel.find({email: req.body.email}, function(err, user){ if(err){ res.redirect('/your sign up page'); } else { if(user.length > 0){ res.redirect('/again your sign up page'); } else{ //YOUR REGISTRATION CODES HERE } } })