Skip to content

Commit e44acd3

Browse files
authored
Merge pull request #169 from shayan-deriv/shayan/FEQ-2389/implement-auto-login-to-p2p
Shayan/feq 2389/implement auto login to p2p
2 parents 26b60ba + 6a9768c commit e44acd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/localstorage-sync.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
accounts[loginid] = token;
3838
tokens.push(token);
3939
});
40-
localStorage.setItem(message.data.key, accounts);
40+
localStorage.setItem(message.data.key, JSON.stringify(accounts));
4141
localStorage.setItem('authToken', tokens[0]);
4242
}
4343
break;

0 commit comments

Comments
 (0)