Fix: logout redirect to homepage issue

This commit is contained in:
hyzen
2026-06-10 07:24:02 +05:30
parent 425601481e
commit 60907ed4c8
65 changed files with 67 additions and 65 deletions

View File

@@ -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();
});
}