add sign up server side, still working on client side
This commit is contained in:
parent
b2a4eacc52
commit
25951cd45b
1 changed files with 0 additions and 1 deletions
|
@ -9,7 +9,6 @@ export function newUser(req, res) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createUser(req, res, next) {
|
export function createUser(req, res, next) {
|
||||||
console.log("in create user");
|
|
||||||
const user = new User({
|
const user = new User({
|
||||||
username: req.body.username,
|
username: req.body.username,
|
||||||
email: req.body.email,
|
email: req.body.email,
|
||||||
|
|
Loading…
Reference in a new issue