Skip to content

Commit

Permalink
Merge pull request #198 from mosip/ase-101-patch-1
Browse files Browse the repository at this point in the history
[MOSIP-31132] Reverted the security fix
  • Loading branch information
ckm007 authored Jun 10, 2024
2 parents 18869e1 + 348b413 commit 8f13fc3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ public VerifyChallengeResponse verifyChallenge(VerifyChallengeRequest verifyChal
otpChallengeInfo.get().getChallenge());
if(!challengeHash.equals(transaction.getChallengeHash())) {
transaction.incrementVerificationAttempt();
cacheUtilService.createUpdateChallengeGeneratedTransaction(transactionId, transaction);
log.error("Transaction {} : challenge not match", transactionId);
throw new ChallengeFailedException();
}
Expand Down

0 comments on commit 8f13fc3

Please sign in to comment.