mirror of
https://github.com/oxen-io/session-android.git
synced 2025-07-19 15:28:30 +00:00
Clear auth cache on first verification failure.
This commit is contained in:
parent
9835e31b46
commit
3796ce69e4
@ -40,6 +40,9 @@ public final class GroupsV2Authorization {
|
||||
} catch (NoCredentialForRedemptionTimeException e) {
|
||||
Log.i(TAG, "Auth out of date, will update auth and try again");
|
||||
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user