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 573573 var enableClientCert = this.merchantConfig.getEnableClientCert();
574574 var sslCaCert = this.merchantConfig.getSslCaCert();
575575 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+ }
576579
577580 const CancelToken = axios.CancelToken;
578581 const source = CancelToken.source();
Original file line number Diff line number Diff line change 575575 var enableClientCert = this . merchantConfig . getEnableClientCert ( ) ;
576576 var sslCaCert = this . merchantConfig . getSslCaCert ( ) ;
577577 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+ }
578581
579582 const CancelToken = axios . CancelToken ;
580583 const source = CancelToken . source ( ) ;
You can’t perform that action at this time.
0 commit comments