slight change in logic, it is equivalent, but more readable.
This commit is contained in:
parent
491874cef8
commit
ba8443ef12
|
@ -302,7 +302,7 @@ public final class HttpAuthenticator {
|
||||||
}
|
}
|
||||||
authExchange.reset();
|
authExchange.reset();
|
||||||
authExchange.setState(AuthExchange.State.FAILURE);
|
authExchange.setState(AuthExchange.State.FAILURE);
|
||||||
if (!challenged) {
|
if (isChallengeExpected) {
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue