Skip to content

Commit

Permalink
Merge pull request #5811 from ThaminduR/patch-master-3561
Browse files Browse the repository at this point in the history
Fix verify user challenge answer related bug
  • Loading branch information
ThaminduR authored Jul 22, 2024
2 parents b93f018 + 2bea436 commit 3d84dc3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,10 @@ public boolean verifyUserChallengeAnswers(String userName, int tenantId,
}
}

if (count == 0) {
verification = false;
}

if (verification) {
verification = (storedUserChallengeDTOs.length == count);
}
Expand Down

0 comments on commit 3d84dc3

Please sign in to comment.