File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
generator/cybersource-javascript-template Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 573
573
var enableClientCert = this.merchantConfig.getEnableClientCert();
574
574
var sslCaCert = this.merchantConfig.getSslCaCert();
575
575
var isSslVerificationDisabled = this.merchantConfig.getDisableSSLVerification();
576
+ if (isSslVerificationDisabled == true ){
577
+ this.logger.warn(' SSL verification is disabled. This is not recommended for production environments.' );
578
+ }
576
579
577
580
const CancelToken = axios.CancelToken;
578
581
const source = CancelToken.source();
Original file line number Diff line number Diff line change 575
575
var enableClientCert = this . merchantConfig . getEnableClientCert ( ) ;
576
576
var sslCaCert = this . merchantConfig . getSslCaCert ( ) ;
577
577
var isSslVerificationDisabled = this . merchantConfig . getDisableSSLVerification ( ) ;
578
+ if ( isSslVerificationDisabled == true ) {
579
+ this . logger . warn ( 'SSL verification is disabled. This is not recommended for production environments.' ) ;
580
+ }
578
581
579
582
const CancelToken = axios . CancelToken ;
580
583
const source = CancelToken . source ( ) ;
You can’t perform that action at this time.
0 commit comments