Skip to content

Commit

Permalink
Ignore checkUrl nullness for Verify
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Nov 7, 2024
1 parent 23c17d4 commit e0fe650
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public String postVerificationRequest(@ModelAttribute VerifyParams verifyParams,
public String checkVerificationRequest(@ModelAttribute VerifyParams verifyParams, Model model) {
try {
String result = "Code matched. Verification successful.";
if (verifyParams.codeless || verifyParams.checkUrl != null || verifyParams.userCode == null) {
if (verifyParams.codeless || verifyParams.userCode == null) {
String code = successfulVerifications.remove(verifyParams.requestId);
if (code == null) synchronized (successfulVerifications) {
try {
Expand Down

0 comments on commit e0fe650

Please sign in to comment.