]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/signup/signup.component.ts
Add "agree to the terms" checkbox in registration form
[github/Chocobozzz/PeerTube.git] / client / src / app / signup / signup.component.ts
index 53d144572350d1c0168c79697df5565879e549ca..076dac4547737db563b1e46c8c1abfb372b9c870 100644 (file)
@@ -38,7 +38,8 @@ export class SignupComponent extends FormReactive implements OnInit {
     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