Skip to content

Commit

Permalink
Do not lowercase org_name claim (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Jul 18, 2023
1 parent b20d897 commit ba09492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web-auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ WebAuth.prototype.validateAuthenticationResponse = function (
}

if (
payload.org_name.toLowerCase() !==
payload.org_name !==
transactionOrganization.toLowerCase()
) {
return callback(
Expand Down

0 comments on commit ba09492

Please sign in to comment.