mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-27 10:50:35 +00:00
Bug 1590486 - ensure FxA web channels can grab the session token. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D50359 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c3a1f83b56
commit
75ea9bc416
@ -549,7 +549,12 @@ this.FxAccountsWebChannelHelpers.prototype = {
|
||||
let signedInUser = null;
|
||||
|
||||
if (this.shouldAllowFxaStatus(service, sendingContext, isPairing)) {
|
||||
const userData = await this._fxAccounts.getSignedInUser();
|
||||
const userData = await this._fxAccounts._internal.getUserAccountData([
|
||||
"email",
|
||||
"sessionToken",
|
||||
"uid",
|
||||
"verified",
|
||||
]);
|
||||
if (userData) {
|
||||
signedInUser = {
|
||||
email: userData.email,
|
||||
|
Loading…
Reference in New Issue
Block a user