Skip to content

Commit

Permalink
fixup! Apply left bottom menu actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig committed Sep 2, 2020
1 parent 0490b02 commit 80ae007
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/authentication-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export class AuthenticationServiceImpl implements AuthenticationService {
}

// And also set it as the preferred account for the extension
this.storageService.setData(`authentication-${extensionName}-${providerId}`, session.id);
this.storageService.setData(`authentication-session-${extensionName}-${providerId}`, session.id);
}
});

Expand Down
2 changes: 2 additions & 0 deletions packages/plugin-ext/src/main/browser/authentication-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ export class AuthenticationMainImpl implements AuthenticationMain {
allowList.push({ id: extensionId, name: extensionName });
this.storageService.setData(`authentication-trusted-extensions-${providerId}-${accountName}`, JSON.stringify(allowList));
}

this.storageService.setData(`authentication-session-${extensionName}-${providerId}`, sessionId);
}
}

Expand Down

0 comments on commit 80ae007

Please sign in to comment.