fix #394
This commit is contained in:
parent
a04e1b0bc4
commit
4684feaff6
1 changed files with 0 additions and 8 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue