correct redirect after failed login

This commit is contained in:
or-else
2018-04-27 10:52:43 -07:00
parent c9c6bf1cef
commit 09eb4bdde8
+1
View File
@@ -3990,6 +3990,7 @@
).catch(function(err){
localStorage.removeItem("auth-token");
instance.handleError(err.message, "err");
window.location.hash = "";
});
window.location.hash = setUrlSidePanel(window.location.hash, 'contacts');
},