Skip to content

Commit ce07bd2

Browse files
committed
Re-add session restore for IAM
1 parent 7506ecc commit ce07bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class AuthUtil implements IAuthProvider {
134134
if (!this.isConnected()) {
135135
// Try to restore an IAM session
136136
this.session = new IamLogin(this.profileName, this.lspAuth, this.eventEmitter)
137-
// await this.session.restore()
137+
await this.session.restore()
138138
if (!this.isConnected()) {
139139
// If both fail, reset the session
140140
this.session = undefined

0 commit comments

Comments
 (0)