diff --git a/apps/stage-web/src/pages/auth/login.vue b/apps/stage-web/src/pages/auth/login.vue index 603c903bc..72bba2e2f 100644 --- a/apps/stage-web/src/pages/auth/login.vue +++ b/apps/stage-web/src/pages/auth/login.vue @@ -34,10 +34,7 @@ async function handleSignIn(provider: OAuthProvider) { onMounted(() => { fetchSession() .then((authenticated) => { - if (authenticated) { - router.replace('/') - } - else if (!isDesktop.value) { + if (authenticated || !isDesktop.value) { router.replace('/') } })