From 98418afe2d82b00969267075c227b83c25a29527 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Jan 2018 15:51:01 +0100 Subject: [PATCH] Fix account names validation --- server/models/account/account.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 493068127..c85d12824 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts @@ -48,7 +48,6 @@ import { UserModel } from './user' export class AccountModel extends Model { @AllowNull(false) - @Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name')) @Column name: string -- 2.25.1