The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat(onboarding): always show the Create Profile step (#21823)
Félix Malfait40c9a11f43e7
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.tsindex 6be7380327e..a6295602319 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(