Skip to content

Commit

Permalink
fix: setting session in local storage after successful login.
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidgil committed Aug 18, 2021
1 parent b562aad commit 206bcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iam/iam-base.ts
Expand Up @@ -163,7 +163,6 @@ export class IAMBase {

this.setResolver();
this.setJWT();
this.storeSession();
}

private async initSigner({
Expand Down Expand Up @@ -274,6 +273,7 @@ export class IAMBase {
this._didSigner = new Owner(this._signer, this._provider, this._publicKey);
await this.setDocument();
this.setClaims();
this.storeSession();
}

/**
Expand Down

0 comments on commit 206bcaa

Please sign in to comment.