Remove invitation code if email sending failed, improve registration process with invitation

This commit is contained in:
lkisme 2017-03-28 00:48:18 +08:00
parent feafc46bb5
commit f82941550a
4 changed files with 19 additions and 12 deletions

View file

@ -13,7 +13,6 @@ AccountsTemplates.addFields([{
displayName: 'Invitation Code',
required: false,
minLength: 6,
errStr: 'Invitation code doesn\'t exist',
template: 'invitationCode',
}]);
@ -69,4 +68,3 @@ if (Meteor.isServer) {
};
});
}