Skip to content
Commit 532bfebb authored by Krzysztof Nowicki's avatar Krzysztof Nowicki Committed by Krzysztof Nowicki
Browse files

ews: fix unnecessary reauthentication prompts



Without this change when OAuth credentials expired, two consecutive
requests could make the reauthentication state machine think that the
refresh token step failed and a full reauthentication is needed, while
in fact this wasn't the case.

With the change applied only the first failing request will trigger
the reauthentication process and any subsequent request failure will
be ignored until authentication is completed again.

Signed-off-by: default avatarKrzysztof Nowicki <krissn@op.pl>
parent a229c6fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment