[FIX] LDAP avatar upload (#18994)

pull/19022/head
pierre-lehnen-rc 5 years ago committed by Diego Sampaio
parent 58a0c20ade
commit fca076a4a3
No known key found for this signature in database
GPG Key ID: E060152B30502562
  1. 1
      app/ldap/server/sync.js

@ -358,6 +358,7 @@ function syncUserAvatar(user, ldapUser) {
const file = {
userId: user._id,
type: 'image/jpeg',
size: avatar.length,
};
Meteor.runAsUser(user._id, () => {

Loading…
Cancel
Save