From f94b7808f786e92629d4f1dc54e189b2f770892a Mon Sep 17 00:00:00 2001 From: Gerald Schmittinger Date: Sat, 19 Apr 2025 12:39:58 +0200 Subject: [PATCH] fix(frontend): 'requiresAuth' routes niet meer zonder authenticatie toegankelijk --- frontend/src/App.vue | 4 ---- frontend/src/main.ts | 2 ++ frontend/src/router/index.ts | 5 ++--- frontend/src/services/auth/auth-service.ts | 3 --- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4b885403..b1207448 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -10,10 +10,6 @@ } const showMenuBar = computed(() => (route.meta as RouteMeta).requiresAuth && auth.authState.user); - - auth.loadUser().catch((_error) => { - // TODO Could not load user! - });