Bug 981172 - have bid_identity fire a notification on login error. r=ckarlof

--HG--
extra : rebase_source : f7413e58d2913b008142b7b70a9455995edffa82
This commit is contained in:
Mark Hammond 2014-03-10 11:54:46 -07:00
parent 84db67d001
commit f3aab980bb

View File

@ -516,6 +516,7 @@ this.BrowserIDManager.prototype = {
this._shouldHaveSyncKeyBundle = true;
this._syncKeyBundle = null;
Weave.Status.login = this._authFailureReason;
Services.obs.notifyObservers(null, "weave:service:login:error", null);
throw err;
});
},