Skip to content

Commit

Permalink
Fix #6469: wipe the keychain when disconnecting FxA
Browse files Browse the repository at this point in the history
  • Loading branch information
garvankeeley committed Apr 27, 2020
1 parent 5bd7a74 commit fc1745f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Providers/Profile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ open class BrowserProfile: Profile {

// remove Account Metadata
prefs.removeObjectForKey(PrefsKeys.KeyLastRemoteTabSyncTime)
keychain.removeObject(forKey: self.name + ".account")
keychain.removeAllKeys()

// Tell any observers that our account has changed.
NotificationCenter.default.post(name: .FirefoxAccountChanged, object: nil)
Expand Down

0 comments on commit fc1745f

Please sign in to comment.