mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 07:16:47 +00:00
Treat "check code" exceptions as false for legacy API compatibility
This commit is contained in:
1 parent
035ddc4834
commit
4ce85fdb19
1 file changed
+3
-1
+3
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user