reset location hash on logout to avoid reloading possible unaccessible list

This commit is contained in:
Max Pozdeev 2022-01-15 15:27:35 +03:00
parent c50b039cb2
commit 26567ee59b

View file

@ -2478,6 +2478,7 @@ function logout()
{
$.post(mytinytodo.mttUrl+'ajax.php?logout', { logout:1 }, function(json){
flag.isLogged = false;
window.location.hash = '';
window.location.reload();
}, 'json');
return false;