π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
refactor: make error message shorter
Pranav C2b7fc5adfd70
diff --git a/packages/nocodb/src/modules/auth/auth.service.ts b/packages/nocodb/src/modules/auth/auth.service.tsindex cf64a2f9cb..bfd80f8a08 100644--- a/packages/nocodb/src/modules/auth/auth.service.ts+++ b/packages/nocodb/src/modules/auth/auth.service.ts@@ -25,12 +25,11 @@ export class AuthService {const { password, salt, ...result } = user;// `salt` will be null,- // 1. If the user signup still in progeress- // 2. If the user is invited and yet to set password- // 3. If the user is created via non email-password auth (OAuth)+ // 1. If the user is invited and yet to set password+ // 2. If the user is created via non email-password auth (OAuth)if (!user.salt) {return NcError.badRequest(- 'If signing up, wait to finish. If invited, use the email link. Otherwise, reset your password or contact the super admin.',+ 'If invited, sign up via the email link; otherwise, use forgot password or contact the super admin.',);}