Skip to content

Commit

Permalink
Merge pull request #107 from Stran6/anonymousRequest
Browse files Browse the repository at this point in the history
Allow anonymous request
  • Loading branch information
steves committed Nov 3, 2015
2 parents e838581 + 56bad50 commit 6429788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jira.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
token: oauth.access_token,
token_secret: oauth.access_token_secret
};
} else {
} else if(this.username && this.password) {
options.auth = {
'user': this.username,
'pass': this.password
Expand Down

0 comments on commit 6429788

Please sign in to comment.