Skip to content

Commit

Permalink
[FIX] LDAP Sync error (#17417)
Browse files Browse the repository at this point in the history
  • Loading branch information
fastrde authored and sampaiodiego committed Apr 27, 2020
1 parent 0cf1d48 commit 9bd8430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ldap/server/loginHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Accounts.registerLoginHandler('ldap', function(loginRequest) {
}

// Create new user
const result = addLdapUser(ldapUser, username, loginRequest.ldapPass);
const result = addLdapUser(ldapUser, username, loginRequest.ldapPass, ldap);

if (result instanceof Error) {
throw result;
Expand Down

0 comments on commit 9bd8430

Please sign in to comment.