From 40c9a11f43e7f6108a1aa5a7943359bf0bd5af6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Fri, 19 Jun 2026 09:50:29 +0200 Subject: [PATCH] feat(onboarding): always show the Create Profile step (#21823) The Create Profile step was skipped whenever the user already had a first or last name (e.g. provided during sign-up or via SSO), because the create-profile-pending flag was only set when both were empty. Always set it so the step is presented during onboarding and the user can review/confirm their profile; submitting it still clears the flag and advances. Review in cubic --- .../auth/services/sign-in-up.service.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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 6be7380327..a629560231 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 @@ -345,16 +345,14 @@ export class SignInUpService { ); } - if (user.firstName === '' && user.lastName === '') { - await this.onboardingService.setOnboardingCreateProfilePending( - { - userId: user.id, - workspaceId: workspace.id, - value: true, - }, - queryRunner, - ); - } + await this.onboardingService.setOnboardingCreateProfilePending( + { + userId: user.id, + workspaceId: workspace.id, + value: true, + }, + queryRunner, + ); } private async saveNewUser(