POST signup controller updated username to email field during new User creation.
This commit is contained in:
@ -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
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user