Skip to content

Commit 5deb674

Browse files
fix create session
1 parent 78457af commit 5deb674

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mpcCoreKit.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,9 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
11431143
if (!this.options.disableSessionManager && !this.sessionManager) {
11441144
throw new Error("sessionManager is not available");
11451145
}
1146+
if (this.options.disableSessionManager) {
1147+
return;
1148+
}
11461149

11471150
try {
11481151
const sessionId = SessionManager.generateRandomSessionKey();

0 commit comments

Comments
 (0)