Bug 1443216 - Fix overzealous login check in TPS. r?kitcambridge
MozReview-Commit-ID: BVzyKyEb3C1
--- a/services/sync/tps/extensions/tps/resource/auth/fxaccounts.jsm
+++ b/services/sync/tps/extensions/tps/resource/auth/fxaccounts.jsm
@@ -178,18 +178,16 @@ var Authentication = {
let client = new FxAccountsClient();
let credentials = await client.signIn(account.username, account.password, true);
await fxAccounts.setSignedInUser(credentials);
await this._completeVerification(account.username);
if (Weave.Status.login !== Weave.LOGIN_SUCCEEDED) {
Logger.logInfo("Logging into Weave.");
await Weave.Service.login();
- Logger.AssertEqual(Weave.Status.login, Weave.LOGIN_SUCCEEDED,
- "Weave logged in");
}
return true;
} catch (error) {
throw new Error("signIn() failed with: " + error.message);
}
},
/**