add new landing page firstlogin close #18
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user