patch re-invit

This commit is contained in:
guillaume 2018-07-16 19:20:47 +02:00
parent c0ddecb2ee
commit df54f15ecb
3 changed files with 27 additions and 8 deletions

View file

@ -503,6 +503,9 @@ if (Meteor.isServer) {
user.profile.boardView = 'board-view-lists';
}
// Deletes the invitation.
InvitationCodes.remove(invitationCode._id);
return user;
});
}