diff options
author | Allemand <37148072+salleman33@users.noreply.github.com> | 2020-06-17 18:50:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 18:50:44 +0200 |
commit | 670b964e6bfc6000cdfe1a6adc343f4c7b406b9e (patch) | |
tree | dfb533c3b65f8d0506ddbbeef5a6407b4b5f4eb9 | |
parent | f6c377eb9f3f7e62911cadbd0ac8745b537d3f97 (diff) | |
download | wekan-670b964e6bfc6000cdfe1a6adc343f4c7b406b9e.tar.gz wekan-670b964e6bfc6000cdfe1a6adc343f4c7b406b9e.tar.bz2 wekan-670b964e6bfc6000cdfe1a6adc343f4c7b406b9e.zip |
update comments
-rw-r--r-- | models/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js index 7f234a54..7ce4edbc 100644 --- a/models/users.js +++ b/models/users.js @@ -946,7 +946,7 @@ if (Meteor.isServer) { existingUser.profile = user.profile; existingUser.authenticationMethod = user.authenticationMethod; - Meteor.users.remove({ _id: user._id }); // remove existing record + Meteor.users.remove({ _id: user._id }); // remove previous record return existingUser; } |