diff --git a/index.html b/index.html
index 498cb054..0782551e 100644
--- a/index.html
+++ b/index.html
@@ -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');
},