提交 07b177f3 编写于 作者: M Matt Zabriskie

Removing unwanted user/pass for auth

上级 d81db4ab
......@@ -49,8 +49,8 @@ module.exports = function httpAdapter(resolve, reject, config) {
// HTTP basic authentication
var auth = undefined;
if (config.auth) {
var username = config.auth.user || config.auth.username;
var password = config.auth.pass || config.auth.password;
var username = config.auth.username || '';
var password = config.auth.password || '';
auth = username + ':' + password;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册