Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nocodb): dont set is_new_user value to true for now else on merging onboarding flow later existing user also see onboaring flow on login

Ramesh Mane81f1b1ebe704
diff --git a/packages/nocodb/src/models/User.ts b/packages/nocodb/src/models/User.ts
index 1839151673..4d591190f8 100644
--- a/packages/nocodb/src/models/User.ts
+++ b/packages/nocodb/src/models/User.ts
@@ -76,10 +76,11 @@ export default class User implements UserType {
'meta',
]);
- // Set is_new_user to true for new users if not explicitly set
- if (insertObj.is_new_user === undefined) {
- insertObj.is_new_user = true;
- }
+ // // Todo: @rameshmane7218 uncomment this part in onboarding flow pr
+ // // Set is_new_user to true for new users if not explicitly set
+ // if (insertObj.is_new_user === undefined) {
+ // insertObj.is_new_user = true;
+ // }
if (insertObj.email) {
insertObj.email = insertObj.email.toLowerCase();