Skip to content

Commit

Permalink
revert session namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1995 committed Jan 9, 2024
1 parent e1a2fc9 commit 1b0981c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/vue-example/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ export default defineComponent({
if (this.openloginInstance.state.factorKey) {
this.useMpc = true;
this.openloginInstance.options.useMpc = true;
await this.openloginInstance.init();
}
await this.openloginInstance.init();
if (this.openloginInstance.privKey || this.openloginInstance.state.factorKey) {
this.privKey = this.openloginInstance.privKey || this.openloginInstance.state.factorKey as string;
await this.setProvider(this.privKey);
Expand Down
1 change: 0 additions & 1 deletion packages/openlogin/src/OpenLogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class OpenLogin {
if (!options.storageKey) options.storageKey = "local";
if (!options.webauthnTransports) options.webauthnTransports = ["internal"];
if (!options.sessionTime) options.sessionTime = 86400;
if (!options.sessionNamespace) options.sessionNamespace = options.network;

this.options = options;
}
Expand Down

0 comments on commit 1b0981c

Please sign in to comment.