Skip to content

Commit 7d69f1d

Browse files
committed
Merge branch 'feature/sts-login' of github.com:liramon1/aws-toolkit-vscode into feature/sts-login
2 parents e79313c + 8342872 commit 7d69f1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/core/src/codewhisperer/util/authUtil.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ export class AuthUtil implements IAuthProvider {
149149
this.session = new SsoLogin(this.profileName, this.lspAuth, this.eventEmitter)
150150
await this.session.restore()
151151
if (!this.isConnected()) {
152-
await this.session?.logout()
153152
// Try to restore an IAM session
154153
this.session = new IamLogin(this.profileName, this.lspAuth, this.eventEmitter)
155154
await this.session.restore()

0 commit comments

Comments
 (0)