mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
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:
parent
53ada6a89f
commit
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();
|
||||
}))(),
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user