mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 12:08:34 +00:00
Clear credentials in pre-restore state.
This commit is contained in:
committed by
Jeffrey Starke
parent
e2be1e0c79
commit
c3350c0bb0
@@ -1940,6 +1940,7 @@ object BackupRepository {
|
||||
} else if (isPreRestoreDuringRegistration()) {
|
||||
Log.w(TAG, "Requesting/using auth credentials in pre-restore state", Throwable())
|
||||
getArchiveServiceAccessPair()
|
||||
.runOnApplicationError(clearAuthCredentials)
|
||||
} else {
|
||||
val messageBackupKey = SignalStore.backup.messageBackupKey
|
||||
val mediaRootBackupKey = SignalStore.backup.mediaRootBackupKey
|
||||
|
||||
Reference in New Issue
Block a user