slight change in logic, it is equivalent, but more readable.

This commit is contained in:
Istvan Toth 2024-10-24 15:08:58 +02:00
parent 491874cef8
commit ba8443ef12
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ public final class HttpAuthenticator {
}
authExchange.reset();
authExchange.setState(AuthExchange.State.FAILURE);
if (!challenged) {
if (isChallengeExpected) {
throw ex;
}
}