feat: log staff sign-in and sign-out and force logout at a set time
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user