     // We're not signed in to a Firefox Account at this time. We should never get a sign out message!
     fileprivate func onSignOut(_ data: JSON) {
         injectData("message", content: ["status": "error"])
+    }
+
+    // The user has deleted their Firefox Account. Disconnect them!
+    fileprivate func onDeleteAccount(_ data: JSON) {
+        FxALoginHelper.sharedInstance.applicationDidDisconnect(UIApplication.shared)
+        LeanPlumClient.shared.set(attributes: [LPAttributeKey.signedInSync: profile.hasAccount()])
+        dismiss(animated: true)
     }
 
     // The user has signed in to a Firefox Account.  We're done!

                onSessionStatus(data)
            case .signOut:
                onSignOut(data)
            }
        }
    }

        case changePassword = "change_password"
        case sessionStatus = "session_status"
        case signOut = "sign_out"
        case deleteAccount = "delete_account"
    }

    weak var delegate: FxAContentViewControllerDelegate?
