Skip to content

Commit

Permalink
Merge pull request #28 from Shahnawaz-Sk/basic-auth-flag
Browse files Browse the repository at this point in the history
Basic auth flag
  • Loading branch information
Shivanshu-lambdatest authored Jan 13, 2023
2 parents d97e193 + 8047e4d commit af8ce64
Show file tree
Hide file tree
Showing 3 changed files with 531 additions and 2,823 deletions.
9 changes: 9 additions & 0 deletions lib/tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,15 @@ function addArguments_(self, fnCallback) {
binaryArgs.push(value);
}
break;

case 'basic-auth':
case 'b':
if (value && !options['legacy']) {
binaryArgs.push('-b');
binaryArgs.push(value);
}
break;

case 'mitm':
case 'm':
if (value && !options['legacy']) {
Expand Down
Loading

0 comments on commit af8ce64

Please sign in to comment.