1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Yet another fix to session saving

I've written tests this time, and everything.
This commit is contained in:
Richard van der Hoff
2016-08-11 00:58:48 +01:00
parent a85259c2b7
commit 5b9d395234

View File

@@ -165,7 +165,7 @@ export function setLoggedIn(credentials) {
// persist the session
if (localStorage) {
try {
localStorage.setItem("mx_hs_url", credentials.homseserverUrl);
localStorage.setItem("mx_hs_url", credentials.homeserverUrl);
localStorage.setItem("mx_is_url", credentials.identityServerUrl);
localStorage.setItem("mx_user_id", credentials.userId);