Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix account names validation

Chocobozzz98418afe2d82
diff --git a/server/models/account/account.ts b/server/models/account/account.ts
index 4930681279..c85d12824d 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<AccountModel> {
@AllowNull(false)
- @Is('AccountName', value => throwIfNotValid(value, isUserUsernameValid, 'account name'))
@Column
name: string