Skip to content

Commit 43311ef

Browse files
committed
signature verification is always turned on
1 parent fe54484 commit 43311ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/utilities/capturecontext/CaptureContextParsingUtility.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const PublicKeyApiController = require('./PublicKeyApiController');
1212
* @param {boolean} verifyJwt - Whether to verify the JWT signature
1313
* @param {Function} callback - Callback function (error, result)
1414
*/
15-
function parseCaptureContextResponse(jwtValue, merchantConfig, verifyJwt, callback) {
15+
function parseCaptureContextResponse(jwtValue, merchantConfig, callback) {
16+
const verifyJwt = true;
1617
if (typeof callback !== 'function') {
1718
throw new Error('callback parameter must be a function');
1819
}

0 commit comments

Comments
 (0)