aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-07-27 00:01:15 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-11 08:46:35 +0200
commit4abe9c593aab52391e4cb9e3a578ed46a479934d (patch)
treeb42c819acc96612b1f0d926d8706660a9096a364 /client/src/app/+admin
parent62fc691548594bc96fd43e0c29dcd4191cb525f5 (diff)
downloadPeerTube-4abe9c593aab52391e4cb9e3a578ed46a479934d.tar.gz
PeerTube-4abe9c593aab52391e4cb9e3a578ed46a479934d.tar.zst
PeerTube-4abe9c593aab52391e4cb9e3a578ed46a479934d.zip
Add validator channel name
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/users/user-edit/user-create.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-create.component.ts b/client/src/app/+admin/users/user-edit/user-create.component.ts
index fc4013a04..3fddb9c09 100644
--- a/client/src/app/+admin/users/user-edit/user-create.component.ts
+++ b/client/src/app/+admin/users/user-edit/user-create.component.ts
@@ -44,7 +44,7 @@ export class UserCreateComponent extends UserEdit implements OnInit {
44 44
45 this.buildForm({ 45 this.buildForm({
46 username: this.userValidatorsService.USER_USERNAME, 46 username: this.userValidatorsService.USER_USERNAME,
47 channelName: this.userValidatorsService.USER_USERNAME, 47 channelName: this.userValidatorsService.USER_CHANNEL_NAME,
48 email: this.userValidatorsService.USER_EMAIL, 48 email: this.userValidatorsService.USER_EMAIL,
49 password: this.isPasswordOptional() ? this.userValidatorsService.USER_PASSWORD_OPTIONAL : this.userValidatorsService.USER_PASSWORD, 49 password: this.isPasswordOptional() ? this.userValidatorsService.USER_PASSWORD_OPTIONAL : this.userValidatorsService.USER_PASSWORD,
50 role: this.userValidatorsService.USER_ROLE, 50 role: this.userValidatorsService.USER_ROLE,