From e7f774cbebc67530096a9342ec7c1f74499c6f23 Mon Sep 17 00:00:00 2001 From: Adam French Date: Wed, 10 Dec 2025 04:51:51 +0000 Subject: [PATCH] bugfix --- nginx/vue/src/stores/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/vue/src/stores/auth.js b/nginx/vue/src/stores/auth.js index 1af153b..091070c 100644 --- a/nginx/vue/src/stores/auth.js +++ b/nginx/vue/src/stores/auth.js @@ -6,7 +6,7 @@ export const useAuthStore = defineStore("auth", () => { const user = ref({}); checkToken(); - const loggedIn = computed(() => !!user.username); + const loggedIn = computed(() => !!user.value.username); async function logOut() { try {