Skip to content

Commit 56bad50

Browse files
committed
Allow anonymous request
1 parent efc81d4 commit 56bad50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jira.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
179179
token: oauth.access_token,
180180
token_secret: oauth.access_token_secret
181181
};
182-
} else {
182+
} else if(this.username && this.password) {
183183
options.auth = {
184184
'user': this.username,
185185
'pass': this.password

0 commit comments

Comments
 (0)