aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-05 15:51:01 +0100
committerChocobozzz <me@florianbigard.com>2018-01-05 15:51:01 +0100
commit98418afe2d82b00969267075c227b83c25a29527 (patch)
treeea87aaa50b339e913e7622d987ceda322641c241 /server/models/account
parentd6aaab28f7606be519935de0d21fb76c0c1a937c (diff)
downloadPeerTube-98418afe2d82b00969267075c227b83c25a29527.tar.gz
PeerTube-98418afe2d82b00969267075c227b83c25a29527.tar.zst
PeerTube-98418afe2d82b00969267075c227b83c25a29527.zip
Fix account names validation
Diffstat (limited to 'server/models/account')
-rw-r--r--server/models/account/account.ts1
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'
48export class AccountModel extends Model<AccountModel> { 48export 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