Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -2,9 +2,9 @@ exports.register = function (req, res) { | ... | @@ -2,9 +2,9 @@ exports.register = function (req, res) { |
2 | // console.log("req", req.body); | 2 | // console.log("req", req.body); |
3 | var today = new Date(); | 3 | var today = new Date(); |
4 | var users = { | 4 | var users = { |
5 | - "first_name": req.body.first_name, | 5 | + "UserNo": req.body.UserNo, |
6 | - "last_name": req.body.last_name, | 6 | + "UserID": req.body.UserID, |
7 | - "email": req.body.email, | 7 | + "UserPw": req.body.UserPw, |
8 | "password": req.body.password, | 8 | "password": req.body.password, |
9 | "created": today, | 9 | "created": today, |
10 | "modified": today | 10 | "modified": today | ... | ... |
-
Please register or login to post a comment