aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/user/user.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts
index a2c2497fd..1a7c84390 100644
--- a/server/models/user/user.ts
+++ b/server/models/user/user.ts
@@ -50,7 +50,6 @@ import {
50 isUserP2PEnabledValid, 50 isUserP2PEnabledValid,
51 isUserPasswordValid, 51 isUserPasswordValid,
52 isUserRoleValid, 52 isUserRoleValid,
53 isUserUsernameValid,
54 isUserVideoLanguages, 53 isUserVideoLanguages,
55 isUserVideoQuotaDailyValid, 54 isUserVideoQuotaDailyValid,
56 isUserVideoQuotaValid, 55 isUserVideoQuotaValid,
@@ -260,7 +259,6 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
260 password: string 259 password: string
261 260
262 @AllowNull(false) 261 @AllowNull(false)
263 @Is('UserUsername', value => throwIfNotValid(value, isUserUsernameValid, 'user name'))
264 @Column 262 @Column
265 username: string 263 username: string
266 264