Clear auth cache on first verification failure.
parent
9835e31b46
commit
3796ce69e4
|
@ -40,6 +40,9 @@ public final class GroupsV2Authorization {
|
||||||
} catch (NoCredentialForRedemptionTimeException e) {
|
} catch (NoCredentialForRedemptionTimeException e) {
|
||||||
Log.i(TAG, "Auth out of date, will update auth and try again");
|
Log.i(TAG, "Auth out of date, will update auth and try again");
|
||||||
cache.clear();
|
cache.clear();
|
||||||
|
} catch (VerificationFailedException e) {
|
||||||
|
Log.w(TAG, "Verification failed, will update auth and try again", e);
|
||||||
|
cache.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.i(TAG, "Getting new auth credential responses");
|
Log.i(TAG, "Getting new auth credential responses");
|
||||||
|
|
Loading…
Reference in New Issue