Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

261 B
Raw Blame
import { $ls } from '@/plugins/axios';

export default async function authenticated() {
    await $ls.updateUserStoreByToken();
    if (!(await $ls.getToken())) {
        console.warn('authenticated');
        return { name: 'login' };
    }
    return true;
}