mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Changes requested on code review
- using $unset
This commit is contained in:
@@ -84,8 +84,8 @@ Meteor.methods({
|
||||
}
|
||||
|
||||
Meteor.users.update({ username: user.username }, {
|
||||
$set: {
|
||||
twoFactorAuthentication: {}
|
||||
$unset: {
|
||||
twoFactorAuthentication: 1
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user