This commit is contained in:
Sandeep Somavarapu 2020-04-22 19:35:27 +02:00
parent ef46ae0cdc
commit 4b178bfc9f
2 changed files with 5 additions and 5 deletions

View file

@ -97,8 +97,8 @@ export class UserDataSyncAccounts extends Disposable {
}
private async initialize(): Promise<void> {
if (this.currentSessionId === undefined && this.useWorkbenchSessionId && this.environmentService.options?.sessionId) {
this.currentSessionId = this.environmentService.options.sessionId;
if (this.currentSessionId === undefined && this.useWorkbenchSessionId && this.environmentService.options?.authenticationSessionId) {
this.currentSessionId = this.environmentService.options.authenticationSessionId;
this.useWorkbenchSessionId = false;
}

View file

@ -214,12 +214,12 @@ interface IWorkbenchConstructionOptions {
userDataProvider?: IFileSystemProvider;
/**
* Session id of the current logged in user
* Session id of the current authenticated user
*/
readonly sessionId?: string;
readonly authenticationSessionId?: string;
/**
* Enables user data sync by default and syncs into the current logged in user using the provided [sessionId}(#sessionId).
* Enables user data sync by default and syncs into the current authenticated user account using the provided [authenticationSessionId}(#authenticationSessionId).
*/
readonly enableSyncByDefault?: boolean;