Skip to content

Commit

Permalink
Never forward LoginPayloadResponses to the Backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfluencer authored Nov 19, 2024
1 parent 67ba3ee commit 228b84f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ public void handle(LoginPayloadResponse response) throws Exception
}
Preconditions.checkState( future != null, "Unexpected custom LoginPayloadResponse" );
future.complete( response.getData() );

// we should never pass this to the backend
throw CancelSendSignal.INSTANCE;
}

@Override
Expand Down

0 comments on commit 228b84f

Please sign in to comment.