add sign up server side, still working on client side
This commit is contained in:
parent
c496f20699
commit
09654ca66b
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