Skip to content

Commit 6429788

Browse files
committed
Merge pull request #107 from Stran6/anonymousRequest
Allow anonymous request
2 parents e838581 + 56bad50 commit 6429788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jira.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
184184
token: oauth.access_token,
185185
token_secret: oauth.access_token_secret
186186
};
187-
} else {
187+
} else if(this.username && this.password) {
188188
options.auth = {
189189
'user': this.username,
190190
'pass': this.password

0 commit comments

Comments
 (0)