feat(users): user can active idle account by score numbers in account status page

#20
This commit is contained in:
OldHawk
2017-12-03 20:17:51 +08:00
parent ebcfc093df
commit 5dc1b9e3a8
10 changed files with 122 additions and 7 deletions

View File

@@ -146,6 +146,12 @@ exports.active = function (req, res, next) {
return res.redirect('/authentication/active?method=successfully');
}
});
//create trace log
traceLogCreate(req, traceConfig.action.userActiveAccount, {
user: u._id,
token: req.params.token
});
}
});
}