Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markstos committed Jun 16, 2021
1 parent b42add6 commit b973bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node-saml/saml.ts
Expand Up @@ -721,7 +721,7 @@ class SAML {
const transforms = xpath.selectElements(currentNode, xpathTransformQuery);
// Reject also XMLDSIG with more than 2 Transform
if (transforms.length > 2) {
// do not return false, throw an error so that it can be catched by tests differently
// do not return false, throw an error so that it can be caught by tests differently
throw new Error("Invalid signature, too many transforms");
}

Expand Down

0 comments on commit b973bb9

Please sign in to comment.