We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa52a80 commit d7e227bCopy full SHA for d7e227b
src/remoteSession.ts
@@ -45,7 +45,11 @@ export class RemoteSession extends Disposable {
45
46
this._register(this.sessionService.onDidChangeSession(() => {
47
if (!this.sessionService.isSignedIn()) {
48
- this.showSignInDialog();
+ if (new URL(this.hostService.gitpodHost).host !== new URL(connectionInfo.gitpodHost).host) {
49
+ this.showRevertGitpodHostDialog();
50
+ } else {
51
+ this.showSignInDialog();
52
+ }
53
} else if (new URL(this.hostService.gitpodHost).host !== new URL(connectionInfo.gitpodHost).host) {
54
this.showRevertGitpodHostDialog();
55
}
0 commit comments