Fix account names validation

This commit is contained in:
Chocobozzz
2018-01-05 15:51:01 +01:00
parent d6aaab28f7
commit 98418afe2d

View File

@@ -48,7 +48,6 @@ import { UserModel } from './user'
export class AccountModel extends Model<AccountModel> {
@AllowNull(false)
@Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name'))
@Column
name: string