Yet another fix to session saving

I've written tests this time, and everything.
pull/21833/head
Richard van der Hoff 2016-08-11 00:58:48 +01:00
parent a85259c2b7
commit 5b9d395234
1 changed files with 1 additions and 1 deletions

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);