diff options
Diffstat (limited to 'server/middlewares/validators/account.ts')
-rw-r--r-- | server/middlewares/validators/account.ts | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/server/middlewares/validators/account.ts b/server/middlewares/validators/account.ts index 58eeed3cc..07ae76b63 100644 --- a/server/middlewares/validators/account.ts +++ b/server/middlewares/validators/account.ts | |||
@@ -1,13 +1,6 @@ | |||
1 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | import { param } from 'express-validator/check' | 2 | import { param } from 'express-validator/check' |
3 | import { | 3 | import { logger } from '../../helpers' |
4 | isUserDisplayNSFWValid, | ||
5 | isUserPasswordValid, | ||
6 | isUserRoleValid, | ||
7 | isUserUsernameValid, | ||
8 | isUserVideoQuotaValid, | ||
9 | logger | ||
10 | } from '../../helpers' | ||
11 | import { isAccountNameValid } from '../../helpers/custom-validators/accounts' | 4 | import { isAccountNameValid } from '../../helpers/custom-validators/accounts' |
12 | import { database as db } from '../../initializers/database' | 5 | import { database as db } from '../../initializers/database' |
13 | import { AccountInstance } from '../../models' | 6 | import { AccountInstance } from '../../models' |