From 8bccf21a81d2dadff15c61a41691e7ff191d1776 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 6 Feb 2026 10:14:52 +0100 Subject: [PATCH] fix: redirect immediately after login to prevent form flash in app shell --- frontend/src/views/user/Login.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/user/Login.vue b/frontend/src/views/user/Login.vue index 58b630128..09202fd35 100644 --- a/frontend/src/views/user/Login.vue +++ b/frontend/src/views/user/Login.vue @@ -211,6 +211,7 @@ async function submit() { try { await authStore.login(credentials) authStore.setNeedsTotpPasscode(false) + redirectIfSaved() } catch (e) { if (e.response?.data.code === 1017 && !credentials.totpPasscode) { return