aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/models/account/user.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/account/user.ts b/server/models/account/user.ts
index 026bf1318..dec99d90a 100644
--- a/server/models/account/user.ts
+++ b/server/models/account/user.ts
@@ -233,7 +233,7 @@ export class UserModel extends Model<UserModel> {
233 password: string 233 password: string
234 234
235 @AllowNull(false) 235 @AllowNull(false)
236 @Is('UserPassword', value => throwIfNotValid(value, isUserUsernameValid, 'user name')) 236 @Is('UserUsername', value => throwIfNotValid(value, isUserUsernameValid, 'user name'))
237 @Column 237 @Column
238 username: string 238 username: string
239 239