Skip to content

Commit ae3cb8d

Browse files
committed
- Removed logging OAuth Token
1 parent 34fac70 commit ae3cb8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generator/cybersource-javascript-template/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
else if (this.merchantConfig.getAuthenticationType().toLowerCase() === this.constants.OAUTH) {
427427
token = 'Bearer ' + token;
428428
headerParams['Authorization'] = token;
429-
this.logger.info(this.constants.AUTHORIZATION + ' : ' + token);
429+
// this.logger.info(this.constants.AUTHORIZATION + ' : ' + token);
430430
}
431431

432432
return headerParams;

src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
else if (this.merchantConfig.getAuthenticationType().toLowerCase() === this.constants.OAUTH) {
429429
token = 'Bearer ' + token;
430430
headerParams['Authorization'] = token;
431-
this.logger.info(this.constants.AUTHORIZATION + ' : ' + token);
431+
// this.logger.info(this.constants.AUTHORIZATION + ' : ' + token);
432432
}
433433

434434
return headerParams;

0 commit comments

Comments
 (0)