From 4684feaff6b01516fa2fb0d907dc66cda0f8c35f Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Fri, 14 Jul 2017 15:35:02 -0400 Subject: [PATCH] fix #394 --- server/controllers/user.controller.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/controllers/user.controller.js b/server/controllers/user.controller.js index 2e002399..415547ee 100644 --- a/server/controllers/user.controller.js +++ b/server/controllers/user.controller.js @@ -22,14 +22,6 @@ export function findUserByUsername(username, cb) { }); } -export function createUser(req, res, next) { - const user = new User({ - username: req.body.username, - email: req.body.email, - password: req.body.password - }); -}; - const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + (3600000 * 24); // 24 hours export function createUser(req, res, next) {