зеркало из https://github.com/mozilla/gecko-dev.git
Bug 482906 - Gracefully handle wiping weave passwords if syncing doesn't restore them
After potentially wiping out all local passwords, save the Weave passwords to disk.
This commit is contained in:
Родитель
53ada6a89f
Коммит
f56a03aa93
|
@ -1271,6 +1271,9 @@ WeaveSvc.prototype = {
|
|||
for each (let engine in engines)
|
||||
if (engine._testDecrypt())
|
||||
engine.wipeClient();
|
||||
|
||||
// Save the password/passphrase just in-case they aren't restored by sync
|
||||
this.persistLogin();
|
||||
}))(),
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче