Skip to content
Snippets Groups Projects
Commit afd8cadc authored by Olivér FACKLAM's avatar Olivér FACKLAM
Browse files

[LDAP] Correct status code validation in search

parent 7d0d197c
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ export class Basics {
// Quand la recherche est finie on se déconnecte
res.on('end', res2 => {
// Si la co avec le LDAP est tombée on relance
if (res2.status == 0) Basics.bind();
if (res2.status != 0) Basics.bind();
resolve(true);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment