feat: log staff sign-in and sign-out and force logout at a set time

This commit is contained in:
2026-10-19 13:34:55 +03:30
parent 3863c5e7d1
commit 8590579605
25 changed files with 588 additions and 15 deletions
+3 -3
View File
@@ -300,12 +300,12 @@ function onMobileMqChange(event: MediaQueryListEvent) {
}
}
function onLogout() {
async function onLogout() {
closeHub();
closeMenu();
closeNotif();
auth.logout();
router.push({ name: 'login' });
await auth.logout();
await router.push({ name: 'login' });
}
async function refreshNotifs() {