JackAdams / meteor-accounts-ldap

Authentication against an LDAP server in Meteor
MIT License
21 stars 12 forks source link

fixed a Mongo error when trying to update Users with empty object #21

Closed aessig closed 7 years ago

aessig commented 7 years ago

error log:

{ [MongoError: '$set' is empty. You must specify a field like so: {$set: {: ...}}] name: 'MongoError', message: '\'$set\' is empty. You must specify a field like so: {$set: {: ...}}', driver: true, index: 0, code: 9, errmsg: '\'$set\' is empty. You must specify a field like so: {$set: {: ...}}' }

JackAdams commented 7 years ago

Just published 0.7.4 with this change in it.