mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix account names validation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user