Fix account names validation

pull/175/head
Chocobozzz 2018-01-05 15:51:01 +01:00
parent d6aaab28f7
commit 98418afe2d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 1 deletions

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