Mobile
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||
const auth = useAuthStore()
|
||||
|
||||
console.log(auth)
|
||||
|
||||
if (auth.loading) return
|
||||
|
||||
|
||||
// Wenn nicht eingeloggt → auf /login (außer er will schon dahin)
|
||||
|
||||
Reference in New Issue
Block a user