From: Chocobozzz Date: Fri, 5 Jan 2018 14:51:01 +0000 (+0100) Subject: Fix account names validation X-Git-Tag: v0.0.1-alpha~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98418afe2d82b00969267075c227b83c25a29527;p=oweals%2Fpeertube.git Fix account names validation --- 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