💄
This commit is contained in:
parent
ef46ae0cdc
commit
4b178bfc9f
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue