Bug 938635 - Implement forceAuthentication for firefox accounts. Part 1: DOM API. r=jedp
authorFernando Jiménez <ferjmoreno@gmail.com>
Wed, 19 Feb 2014 11:47:10 +0100
changeset 169907 fb1e20021f2d45df8f4871c856135739d253bb9f
parent 169850 a8065fb1d95cb6c455bf0ee42b43482331fdb8a5
child 169908 a8cdafcb11f054b67a9e2ca13d5f3625dcfbb909
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjedp
bugs938635
milestone30.0a1
Bug 938635 - Implement forceAuthentication for firefox accounts. Part 1: DOM API. r=jedp
toolkit/identity/FirefoxAccounts.jsm
--- a/toolkit/identity/FirefoxAccounts.jsm
+++ b/toolkit/identity/FirefoxAccounts.jsm
@@ -121,17 +121,17 @@ FxAccountsService.prototype = {
       return;
     }
 
     let options = makeMessageObject(rp);
     objectCopy(aOptions, options);
 
     log.debug("get assertion for " + rp.audience);
 
-    this.fxAccountsManager.getAssertion(rp.audience).then(
+    this.fxAccountsManager.getAssertion(rp.audience, options).then(
       data => {
         log.debug("got assertion: " + JSON.stringify(data));
         this.doLogin(aRPId, data);
       },
       error => {
         log.error("get assertion failed: " + JSON.stringify(error));
       }
     );