mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user