diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-07-14 23:36:15 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-11 08:46:35 +0200 |
commit | 62fc691548594bc96fd43e0c29dcd4191cb525f5 (patch) | |
tree | b7084bf7eff3b77aa91ddaa65d9c6b875150de60 /client/src/app/+admin/users/user-edit/user-create.component.ts | |
parent | c2165d607e63c825fef9d3e13cbee2ba3baf92bc (diff) | |
download | PeerTube-62fc691548594bc96fd43e0c29dcd4191cb525f5.tar.gz PeerTube-62fc691548594bc96fd43e0c29dcd4191cb525f5.tar.zst PeerTube-62fc691548594bc96fd43e0c29dcd4191cb525f5.zip |
Add channel_name field to create-user view
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-create.component.ts')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-create.component.ts | 1 |
1 files changed, 1 insertions, 0 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 f9f5b90bd..fc4013a04 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,6 +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 | email: this.userValidatorsService.USER_EMAIL, | 48 | email: this.userValidatorsService.USER_EMAIL, |
48 | 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, |
49 | role: this.userValidatorsService.USER_ROLE, | 50 | role: this.userValidatorsService.USER_ROLE, |