mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-07-01 07:22:17 +02:00
Fix: logout redirect to homepage issue
This commit is contained in:
@@ -91,7 +91,9 @@
|
||||
body: JSON.stringify({ action: 'logout' }),
|
||||
}).finally(function () {
|
||||
localStorage.removeItem('f4_username');
|
||||
window.location.href = '/';
|
||||
localStorage.removeItem('f4_login_time');
|
||||
localStorage.removeItem('f4_session_fails');
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user