diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-05 15:51:01 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-05 15:51:01 +0100 |
commit | 98418afe2d82b00969267075c227b83c25a29527 (patch) | |
tree | ea87aaa50b339e913e7622d987ceda322641c241 /server | |
parent | d6aaab28f7606be519935de0d21fb76c0c1a937c (diff) | |
download | PeerTube-98418afe2d82b00969267075c227b83c25a29527.tar.gz PeerTube-98418afe2d82b00969267075c227b83c25a29527.tar.zst PeerTube-98418afe2d82b00969267075c227b83c25a29527.zip |
Fix account names validation
Diffstat (limited to 'server')
-rw-r--r-- | server/models/account/account.ts | 1 |
1 files changed, 0 insertions, 1 deletions
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' | |||
48 | export class AccountModel extends Model<AccountModel> { | 48 | export class AccountModel extends Model<AccountModel> { |
49 | 49 | ||
50 | @AllowNull(false) | 50 | @AllowNull(false) |
51 | @Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name')) | ||
52 | @Column | 51 | @Column |
53 | name: string | 52 | name: string |
54 | 53 | ||