diff --git a/packages/nc-gui-v2/pages/signup.vue b/packages/nc-gui-v2/pages/signup.vue index 9c47011560..ddffb9e259 100644 --- a/packages/nc-gui-v2/pages/signup.vue +++ b/packages/nc-gui-v2/pages/signup.vue @@ -19,8 +19,8 @@ const signUp = async () => { error.value = null try { const { token } = await $api.auth.signup(form) - $state.token.value = token! - navigateTo('/projects') + $state.signIn(token!) + await navigateTo('/projects') } catch (e: any) { error.value = await extractSdkResponseErrorMsg(e) } @@ -52,7 +52,7 @@ const signUp = async () => {