This commit is contained in:
Cassie Tarakajian 2017-07-14 15:35:02 -04:00
parent a04e1b0bc4
commit 4684feaff6

View file

@ -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 const EMAIL_VERIFY_TOKEN_EXPIRY_TIME = Date.now() + (3600000 * 24); // 24 hours
export function createUser(req, res, next) { export function createUser(req, res, next) {