Skip to content

Commit

Permalink
Merge pull request #169 from shayan-deriv/shayan/FEQ-2389/implement-a…
Browse files Browse the repository at this point in the history
…uto-login-to-p2p

Shayan/feq 2389/implement auto login to p2p
  • Loading branch information
farrah-deriv authored Jun 25, 2024
2 parents 26b60ba + 6a9768c commit e44acd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/localstorage-sync.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
accounts[loginid] = token;
tokens.push(token);
});
localStorage.setItem(message.data.key, accounts);
localStorage.setItem(message.data.key, JSON.stringify(accounts));
localStorage.setItem('authToken', tokens[0]);
}
break;
Expand Down

0 comments on commit e44acd3

Please sign in to comment.