diff --git a/frontend/src/router.js b/frontend/src/router.js index a6d02f73..742d48d4 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -219,7 +219,7 @@ let router = createRouter({ router.beforeEach(async (to, from, next) => { const { userResource } = usersStore() - const { isLoggedIn } = sessionStore() + let { isLoggedIn } = sessionStore() const { allowGuestAccess } = useSettings() try {