Skip to content

Commit

Permalink
Merge pull request pantsel#1 from Home-Credit/bugfix/first-ldap-login…
Browse files Browse the repository at this point in the history
…-fails-#584

On first succesfull login against LDAP, user.id is not propagated to …
  • Loading branch information
mdostal-hci authored Jul 3, 2020
2 parents 57f40d4 + 11247ba commit 2de5946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/services/protocols/ldap.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var ldapToUser = function (ldapUser, user, next) {
console.error("Failed to create user from ldap", err);
next(err);
} else {
next(null, data);
next(null, user);
}
});
}
Expand Down

0 comments on commit 2de5946

Please sign in to comment.