Fix a mistake where we're looking for verification codes in place that hasn't been deployed yet (but will be soon!)

This commit is contained in:
Jon Chambers 2023-01-25 11:37:54 -05:00 committed by Jon Chambers
parent c2f40b8503
commit 035ddc4834
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class RegistrationServiceClient implements Managed {
default -> throw new CompletionException(new RuntimeException("Failed to check verification code: " + response.getError().getErrorType()));
}
} else {
return response.getSessionMetadata().getVerified();
return response.getVerified() || response.getSessionMetadata().getVerified();
}
});
}