POST signup controller updated username to email field during new User creation.

This commit is contained in:
Sahat Yalkabov
2014-01-18 01:56:55 -05:00
parent 97ad58b80a
commit a5eff415f0

View File

@ -93,7 +93,7 @@ exports.postSignup = function(req, res, next) {
}
var user = new User({
username: req.body.username,
email: req.body.email,
password: req.body.password
});