add new landing page firstlogin close #18

This commit is contained in:
Adrian Zürcher
2025-12-10 14:05:37 +01:00
parent 714ca0219a
commit 6be85e86af
14 changed files with 119 additions and 20 deletions

View File

@@ -4,6 +4,7 @@ import { useNotify } from '../general/useNotify';
import type { Settings } from '../models/settings';
import { appName, logo } from '../models/settings';
import { clearLocalStorage, setLocalSettings } from 'src/localstorage/localStorage';
import { routerInstance } from 'src/router';
const refreshTime = 10000;
let intervalId: ReturnType<typeof setInterval> | null = null;
@@ -55,6 +56,7 @@ export function useLogin() {
userStore.clearUser();
clearLocalStorage();
stopRefreshInterval();
await routerInstance.push('/login');
}
async function refresh() {