rework login to wor with authentik

rework env handling a runtime
remove oketbase
This commit is contained in:
2024-05-15 16:00:56 +02:00
parent 206bdd0e55
commit 2eea436641
22 changed files with 1253 additions and 813 deletions

View File

@@ -1,13 +1,14 @@
<script setup lang="ts">
import { RouterView, useRoute } from 'vue-router';
import { useAuthStore } from '@/auth';
import { RouterView } from 'vue-router';
import { Sidebar } from './sidebar';
const route = useRoute();
const authStore = useAuthStore();
</script>
<template>
<template v-if="route.name === 'login'">
<template v-if="!authStore.isLoggedIn">
<RouterView />
</template>
<template v-else>