From 3e5c5b893c29d74e424fdce0ecb7fd13b242f0a0 Mon Sep 17 00:00:00 2001 From: Jeppe Bundgaard Date: Mon, 26 Jan 2026 12:40:00 +0100 Subject: [PATCH] Redirect authenticated users on the landing page and increment TWA app version to 6 --- src/components/session/token/SessionUser.vue | 3 +++ src/views/pages/LandingPage.vue | 10 +++++++++- twa-manifest.json | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/session/token/SessionUser.vue b/src/components/session/token/SessionUser.vue index 1c3fa225..0f116ad7 100644 --- a/src/components/session/token/SessionUser.vue +++ b/src/components/session/token/SessionUser.vue @@ -669,6 +669,9 @@ export const SessionUser = { login: () => { window.location.href = '/login'; }, + redirect: () => { + window.location.href = '/redirect'; + }, }, /** * Redirect to a department diff --git a/src/views/pages/LandingPage.vue b/src/views/pages/LandingPage.vue index dd16ab72..6111dba7 100644 --- a/src/views/pages/LandingPage.vue +++ b/src/views/pages/LandingPage.vue @@ -1,6 +1,14 @@