Treat "check code" exceptions as false for legacy API compatibility
Some checks failed
Service CI / build (push) Has been cancelled

This commit is contained in:
Jon Chambers 2023-01-25 14:34:38 -05:00 committed by Jon Chambers
parent 035ddc4834
commit 4ce85fdb19

View File

@ -997,7 +997,9 @@ public class AccountController {
return registrationServiceClient.checkVerificationCode(sessionId, verificationCode, REGISTRATION_RPC_TIMEOUT).join();
} catch (final CompletionException e) {
rethrowRateLimitException(e);
throw e;
// For legacy API compatibility, funnel all errors into the same return value
return false;
}
}