|
@@ -946,7 +946,7 @@ if (Meteor.isServer) {
|
|
existingUser.profile = user.profile;
|
|
existingUser.profile = user.profile;
|
|
existingUser.authenticationMethod = user.authenticationMethod;
|
|
existingUser.authenticationMethod = user.authenticationMethod;
|
|
|
|
|
|
- Meteor.users.remove({ _id: user._id }); // remove previous record
|
|
|
|
|
|
+ Meteor.users.remove({ _id: user._id });
|
|
return existingUser;
|
|
return existingUser;
|
|
}
|
|
}
|
|
|
|
|