Skip to content

Commit

Permalink
[FIX] LDAP login with customField sync (RocketChat#14661)
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbelette authored Jun 14, 2019
1 parent 365543f commit e502a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ldap/server/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function getDataToSyncUserData(ldapUser, user) {
if (currKey === lastKey) {
obj[currKey] = tmpLdapField;
} else {
obj[currKey] = obj[currKey];
obj[currKey] = obj[currKey] || {};
}
return obj[currKey];
}, userData);
Expand Down

0 comments on commit e502a8d

Please sign in to comment.