]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/signup/signup.component.ts
Display report reason in multiple lines (#957)
[github/Chocobozzz/PeerTube.git] / client / src / app / signup / signup.component.ts
index 53d144572350d1c0168c79697df5565879e549ca..ed68487ae10ae9aa524eece634e1fb2b6ff1d687 100644 (file)
@@ -34,11 +34,16 @@ export class SignupComponent extends FormReactive implements OnInit {
     return this.serverService.getConfig().user.videoQuota
   }
 
+  get instanceHost () {
+    return window.location.host
+  }
+
   ngOnInit () {
     this.buildForm({
       username: this.userValidatorsService.USER_USERNAME,
       password: this.userValidatorsService.USER_PASSWORD,
-      email: this.userValidatorsService.USER_EMAIL
+      email: this.userValidatorsService.USER_EMAIL,
+      terms: this.userValidatorsService.USER_TERMS
     })
 
     this.serverService.configLoaded