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:
a2b6ec7
)
Fix typo in db field check
author
Chocobozzz
<me@florianbigard.com>
Fri, 3 Apr 2020 12:08:27 +0000
(14:08 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 3 Apr 2020 12:08:27 +0000
(14:08 +0200)
server/models/account/user.ts
patch
|
blob
|
history
diff --git
a/server/models/account/user.ts
b/server/models/account/user.ts
index 026bf1318f1d1e23e4b24166964a0a13da20c0d6..dec99d90af05233856ae81b4b46979de24c4484a 100644
(file)
--- a/
server/models/account/user.ts
+++ b/
server/models/account/user.ts
@@
-233,7
+233,7
@@
export class UserModel extends Model<UserModel> {
password: string
@AllowNull(false)
- @Is('User
Password
', value => throwIfNotValid(value, isUserUsernameValid, 'user name'))
+ @Is('User
Username
', value => throwIfNotValid(value, isUserUsernameValid, 'user name'))
@Column
username: string