Add more stat collection
This commit is contained in:
parent
741f49ad63
commit
e254114625
7 changed files with 79 additions and 29 deletions
|
@ -189,5 +189,7 @@ export function* activateUser(ctx, code) {
|
|||
if (user) {
|
||||
Users.updateOne({_id: user._id}, {'$unset': {activationCode: ''}});
|
||||
yield setupSession(ctx, user);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue