Browse Source

fix(nocodb): isEmail

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
c20d874bf9
  1. 2
      packages/nocodb/src/helpers/initAdminFromEnv.ts
  2. 2
      packages/nocodb/src/services/users/users.service.ts

2
packages/nocodb/src/helpers/initAdminFromEnv.ts

@ -4,7 +4,7 @@ import bcrypt from 'bcryptjs';
import { validatePassword } from 'nocodb-sdk'; import { validatePassword } from 'nocodb-sdk';
import boxen from 'boxen'; import boxen from 'boxen';
import { T } from 'nc-help'; import { T } from 'nc-help';
import { isEmail } from 'validator'; import isEmail from 'validator/lib/isEmail';
import NocoCache from '~/cache/NocoCache'; import NocoCache from '~/cache/NocoCache';
import Noco from '~/Noco'; import Noco from '~/Noco';
import { ProjectUser, User } from '~/models'; import { ProjectUser, User } from '~/models';

2
packages/nocodb/src/services/users/users.service.ts

@ -2,7 +2,7 @@ import { promisify } from 'util';
import { Injectable } from '@nestjs/common'; import { Injectable } from '@nestjs/common';
import { AppEvents, OrgUserRoles, validatePassword } from 'nocodb-sdk'; import { AppEvents, OrgUserRoles, validatePassword } from 'nocodb-sdk';
import { v4 as uuidv4 } from 'uuid'; import { v4 as uuidv4 } from 'uuid';
import { isEmail } from 'validator'; import isEmail from 'validator/lib/isEmail';
import { T } from 'nc-help'; import { T } from 'nc-help';
import * as ejs from 'ejs'; import * as ejs from 'ejs';
import bcrypt from 'bcryptjs'; import bcrypt from 'bcryptjs';

Loading…
Cancel
Save