Bug 1503947 - Add a function to FxAccountsConfig to return the correct url for onboarding fxa card r=eoger
authorUrsula Sarracini <ursulasarracini@gmail.com>
Thu, 01 Nov 2018 17:27:08 +0000
changeset 443966 33b625372a5afb9a2efad23d5afc09949f1b03bc
parent 443965 522fe7ae8d3a62860c7a395da48bfcf41fd204e8
child 443967 0c2a6fe4fb0892b8f22c070193f94409c6944764
push id72170
push userusarracini@mozilla.com
push dateThu, 01 Nov 2018 17:28:02 +0000
treeherderautoland@33b625372a5a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseoger
bugs1503947
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1503947 - Add a function to FxAccountsConfig to return the correct url for onboarding fxa card r=eoger Differential Revision: https://phabricator.services.mozilla.com/D10591
services/fxaccounts/FxAccountsConfig.jsm
--- a/services/fxaccounts/FxAccountsConfig.jsm
+++ b/services/fxaccounts/FxAccountsConfig.jsm
@@ -40,16 +40,20 @@ var FxAccountsConfig = {
   async promiseSignInURI(entrypoint) {
     return this._buildURL("signin", {entrypoint});
   },
 
   async promiseEmailURI(email, entrypoint) {
     return this._buildURL("", {entrypoint, email});
   },
 
+  async promiseEmailFirstURI(entrypoint) {
+    return this._buildURL("", {entrypoint});
+  },
+
   async promiseForceSigninURI(entrypoint) {
     return this._buildURL("force_auth", {entrypoint}, true);
   },
 
   async promiseManageURI(entrypoint) {
     return this._buildURL("settings", {entrypoint}, true);
   },