Fix logout button redirect

cron-as-worker-process
Moe 2022-06-22 16:13:52 -07:00
parent fe5a0b4045
commit 2fc0cf4059
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ $(document).ready(function(){
$('.logout').click(function(e){
$.get(getApiPrefix() + '/logout/' + $user.ke + '/' + $user.uid,function(data){
localStorage.removeItem('ShinobiLogin_'+location.host);
location.href = location.href;
location.href = location.href.split('#')[0];
})
})
// only binded on load