Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Nov 5, 2024
1 parent 5696f42 commit eef5fd9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/mpcCoreKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,6 @@ export class Web3AuthMPCCoreKit implements ICoreKit {

this.ready = true;

TorusUtils.setSessionTime(this.options.sessionTime);

// try handle redirect flow if enabled and return(redirect) from oauth login
if (
params.handleRedirectResult &&
Expand Down Expand Up @@ -1051,8 +1049,7 @@ export class Web3AuthMPCCoreKit implements ICoreKit {

private async createSession() {
if (!this.sessionManager) {
log.warn("sessionManager is not available");
return;
throw new Error("sessionManager is not available");
}

try {
Expand Down

0 comments on commit eef5fd9

Please sign in to comment.