master
Matt Huntington 9 years ago
parent 557ab89681
commit 4cfebade34

@ -13,7 +13,7 @@ controller.post('/', function(req, res){
req.body.password = bcrypt.hashSync(req.body.password, bcrypt.genSaltSync(10)); req.body.password = bcrypt.hashSync(req.body.password, bcrypt.genSaltSync(10));
Users.create(req.body).then(function(createdUser){ Users.create(req.body).then(function(createdUser){
res.redirect('/'); res.redirect('/');
});; });
}); });
module.exports = controller; module.exports = controller;

Loading…
Cancel
Save