projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6aaab2
)
Fix account names validation
author
Chocobozzz
<me@florianbigard.com>
Fri, 5 Jan 2018 14:51:01 +0000
(15:51 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 5 Jan 2018 14:51:01 +0000
(15:51 +0100)
server/models/account/account.ts
patch
|
blob
|
history
diff --git
a/server/models/account/account.ts
b/server/models/account/account.ts
index 4930681279e1424066c8910b7ac64fd5052b11fb..c85d12824d5394ee04fb4d135d01201ccd095f4e 100644
(file)
--- 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