diff --git a/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts b/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts index 384865c8d..41ba1c677 100644 --- a/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts +++ b/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts @@ -98,7 +98,6 @@ export class SignInUpService { }; } - // with global invitation flow if (params.workspace) { const updatedUser = await this.signInUpOnExistingWorkspace({ workspace: params.workspace, @@ -246,7 +245,9 @@ export class SignInUpService { const user = Object.assign(currentUser, updatedUser); - await this.activateOnboardingForUser(user, params.workspace); + if (params.userData.type === 'newUserWithPicture') { + await this.activateOnboardingForUser(user, params.workspace); + } return user; }