Skip to content

Commit a7eda04

Browse files
liramon1yuxianrz
authored andcommitted
Fix SSO migration from production auth
1 parent 819790f commit a7eda04

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
@@ -150,7 +150,6 @@ export class AuthUtil implements IAuthProvider {
150150
this.session = new SsoLogin(this.profileName, this.lspAuth, this.eventEmitter)
151151
await this.session.restore()
152152
if (!this.isConnected()) {
153-
await this.session?.logout()
154153
// Try to restore an IAM session
155154
this.session = new IamLogin(this.profileName, this.lspAuth, this.eventEmitter)
156155
await this.session.restore()

0 commit comments

Comments
 (0)