Skip to content
Snippets Groups Projects
Commit cd3106e7 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix a log and a if condition

parent 67b8fb7d
No related branches found
No related tags found
No related merge requests found
......@@ -165,8 +165,8 @@ LDAP = class LDAP {
let domain_search = self.getDomainBindSearch();
if (domain_search.domain_search_user && domain_search.domain_search_password) {
console.log('Bind before search', domain_search.userDN, domain_search.domain_search_password);
if (domain_search.domain_search_user !== '' && domain_search.domain_search_password !== '') {
console.log('Bind before search', domain_search.domain_search_user, domain_search.domain_search_password);
self.bindSync(domain_search.domain_search_user, domain_search.domain_search_password);
}
......
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