Skip to content

Commit

Permalink
On first succesfull login against LDAP, user.id is not propagated to …
Browse files Browse the repository at this point in the history
…next(), hence login fails
  • Loading branch information
mdostal-hci committed Jul 2, 2020
1 parent 57f40d4 commit 11247ba
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 11247ba

Please sign in to comment.