diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index e2ce0eb65..ebe8e153d 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -433,6 +433,8 @@ export async function getAuthForRoute(to: RouteLocation, authStore) { router.beforeEach(async (to, from) => { const authStore = useAuthStore() + await authStore.checkAuth() + if(from.hash && from.hash.startsWith(LINK_SHARE_HASH_PREFIX)) { to.hash = from.hash }