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
parent 53ada6a89f
commit f56a03aa93

View File

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