frontend: Login-Redirect for unauth requests
This commit is contained in:
parent
ffbbd3d0ac
commit
c8b6e4757f
4 changed files with 62 additions and 27 deletions
|
|
@ -1,4 +1,9 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
definePageMeta({
|
||||
requiresAuth: true
|
||||
})
|
||||
|
||||
import { ref, onMounted } from "vue"
|
||||
|
||||
const { loadToken } = useAuth()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue