Skip to content

Commit

Permalink
slight change in logic, it is equivalent, but more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
stoty committed Oct 24, 2024
1 parent 491874c commit ba8443e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public boolean updateAuthState(
}
authExchange.reset();
authExchange.setState(AuthExchange.State.FAILURE);
if (!challenged) {
if (isChallengeExpected) {
throw ex;
}
}
Expand Down

0 comments on commit ba8443e

Please sign in to comment.