Browse Source

chore(nocodb): update msg in initStrategies.ts

pull/5043/head
Wing-Kam Wong 2 years ago
parent
commit
a1473ddec7
  1. 2
      packages/nocodb/src/lib/meta/api/userApi/initStrategies.ts
  2. 2
      packages/nocodb/src/lib/v1-legacy/gql/GqlAuthResolver.ts
  3. 2
      packages/nocodb/src/lib/v1-legacy/rest/RestAuthCtrl.ts

2
packages/nocodb/src/lib/meta/api/userApi/initStrategies.ts

@ -210,7 +210,7 @@ export function initStrategies(router): void {
if (!user.salt) { if (!user.salt) {
return done({ return done({
msg: `Please sign up with the invite token first!`, msg: `Please sign up with the invite token first or reset the password by clicking Forgot your password.`,
}); });
} }

2
packages/nocodb/src/lib/v1-legacy/gql/GqlAuthResolver.ts

@ -164,7 +164,7 @@ export default class GqlAuthResolver {
} }
if (!user.salt) { if (!user.salt) {
return done({ return done({
msg: `Please sign up with the invite token first!`, msg: `Please sign up with the invite token first or reset the password by clicking Forgot your password.`,
}); });
} }
const hashedPassword = await promisify(bcrypt.hash)( const hashedPassword = await promisify(bcrypt.hash)(

2
packages/nocodb/src/lib/v1-legacy/rest/RestAuthCtrl.ts

@ -336,7 +336,7 @@ export default class RestAuthCtrl {
} }
if (!user.salt) { if (!user.salt) {
return done({ return done({
msg: `Please sign up with the invite token first!`, msg: `Please sign up with the invite token first or reset the password by clicking Forgot your password.`,
}); });
} }
const hashedPassword = await promisify(bcrypt.hash)( const hashedPassword = await promisify(bcrypt.hash)(

Loading…
Cancel
Save