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 b2a4c82 commit 8f863a8Copy full SHA for 8f863a8
src/Web3Auth.ts
@@ -261,9 +261,10 @@ class Web3Auth implements IWeb3Auth {
261
if (!this.sessionManager.sessionId) {
262
throw LoginError.userNotLoggedIn();
263
}
264
+ const currentUserInfo = this.userInfo();
265
+
266
await this.sessionManager.invalidateSession();
267
await this.keyStore.remove("sessionId");
- const currentUserInfo = this.userInfo();
268
269
if (currentUserInfo.verifier && currentUserInfo.dappShare.length > 0) {
270
await this.keyStore.remove(currentUserInfo.verifier);
0 commit comments