kopia lustrzana https://github.com/ryukoposting/Signal-Android
Clear auth cache on first verification failure.
rodzic
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");
|
||||
|
|
Ładowanie…
Reference in New Issue