diff --git a/lib/client.js b/lib/client.js index 56bbec6..af5c4bf 100644 --- a/lib/client.js +++ b/lib/client.js @@ -17,6 +17,7 @@ module.exports = function(options) { }; } + opts.httpAuth=options.auth || null; opts.log = options.log || null; return new elasticsearch.Client(opts);