mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Slightly modify undefined check to make it match the rest of the codebase. No change in expected usage.
This commit is contained in:
parent
c55b08fbc2
commit
17c2ce67a2
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module.exports.login = function(options, username, password) {
|
|||
})
|
||||
}
|
||||
|
||||
if (typeof options.search.filter !== 'undefined') {
|
||||
if (options.search.filter) {
|
||||
var parsedFilter = ldap.parseFilter(options.search.filter)
|
||||
query.filter.filters.push(parsedFilter)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue