From b4a929accf576edc733fde75a81dfad9a3d288ed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Jul 2018 11:01:53 +0200 Subject: Add "agree to the terms" checkbox in registration form --- client/src/app/signup/signup.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/signup/signup.component.ts') diff --git a/client/src/app/signup/signup.component.ts b/client/src/app/signup/signup.component.ts index 53d144572..076dac454 100644 --- a/client/src/app/signup/signup.component.ts +++ b/client/src/app/signup/signup.component.ts @@ -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 -- cgit v1.2.3