feat(front-nuxt): [WIP] login

This commit is contained in:
dqnid committed 2025-11-01 21:30:24 +01:00
1 parent 6be93d915e
commit 695342e19a
3 files changed
+21 -10

No files matched your search

+2 -1
View File
@@ -34,11 +34,12 @@ export default defineNuxtRouteMiddleware((to, from) => {
// else just redirect to login
return navigateTo(LOGIN_ROUTE);
}
return;
} else {
return navigateTo(LOGIN_ROUTE);
}
} catch (e) {
console.error(">> [!] Not in client");
console.error(">> [!] Not in client", e);
}
console.log(">> Global Middleware from ", from.path);