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:
Edward Lee 2009-10-12 16:45:40 -07:00
Родитель 53ada6a89f
Коммит f56a03aa93
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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();
}))(),
/**