Skip to content

Commit dfe7e6c

Browse files
committed
feat: remove redundant set sessionid
1 parent 7961e19 commit dfe7e6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Web3Auth.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,8 @@ class Web3Auth implements IWeb3Auth {
638638
};
639639
const sessionId = SessionManager.generateRandomSessionKey();
640640
this.sessionManager.sessionId = sessionId;
641-
await this.keyStore.set("sessionId", sessionId);
642641
await this.sessionManager.createSession(authSessionData);
643-
this.sessionManager.sessionId = sessionId;
642+
await this.keyStore.set("sessionId", sessionId);
644643

645644
this.updateState(authSessionData);
646645
}

0 commit comments

Comments
 (0)