wow
This commit is contained in:
@@ -10,7 +10,10 @@ exports.signup = (req, res) => {
|
||||
const user = new User({
|
||||
username: req.body.username,
|
||||
email: req.body.email,
|
||||
password: bcrypt.hashSync(req.body.password, 8)
|
||||
password: bcrypt.hashSync(req.body.password, 8),
|
||||
active: false,
|
||||
balance: 0,
|
||||
walletid: null
|
||||
});
|
||||
|
||||
user.save((err, user) => {
|
||||
|
||||
Reference in New Issue
Block a user