diff options
author | guillaume <guillaume.cassou@supinfo.com> | 2018-07-16 19:20:47 +0200 |
---|---|---|
committer | guillaume <guillaume.cassou@supinfo.com> | 2018-07-16 19:20:47 +0200 |
commit | df54f15ecb36e105ad2116443672c99d52569958 (patch) | |
tree | 6a0fb272362f366a3bd12ff19fd36c6b0cadb9f8 /models/users.js | |
parent | c0ddecb2eeea3277dcab5a750eac991b7b0945ea (diff) | |
download | wekan-df54f15ecb36e105ad2116443672c99d52569958.tar.gz wekan-df54f15ecb36e105ad2116443672c99d52569958.tar.bz2 wekan-df54f15ecb36e105ad2116443672c99d52569958.zip |
patch re-invit
Diffstat (limited to 'models/users.js')
-rw-r--r-- | models/users.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/models/users.js b/models/users.js index 5a7fbbe5..31590cea 100644 --- a/models/users.js +++ b/models/users.js @@ -503,6 +503,9 @@ if (Meteor.isServer) { user.profile.boardView = 'board-view-lists'; } + // Deletes the invitation. + InvitationCodes.remove(invitationCode._id); + return user; }); } |