mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 15:18:49 +01:00
commit
c7a40784e7
1 changed files with 2 additions and 1 deletions
|
|
@ -946,7 +946,8 @@ if (Meteor.isServer) {
|
|||
existingUser.profile = user.profile;
|
||||
existingUser.authenticationMethod = user.authenticationMethod;
|
||||
|
||||
Meteor.users.remove({ _id: existingUser._id }); // remove existing record
|
||||
Meteor.users.remove({ _id: user._id });
|
||||
Meteor.users.remove({ _id: existingUser._id }); // is going to be created again
|
||||
return existingUser;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue