aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/form-validators/user-validators.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/form-validators/user-validators.ts')
-rw-r--r--client/src/app/shared/form-validators/user-validators.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/shared/form-validators/user-validators.ts b/client/src/app/shared/form-validators/user-validators.ts
index 115930146..a27290035 100644
--- a/client/src/app/shared/form-validators/user-validators.ts
+++ b/client/src/app/shared/form-validators/user-validators.ts
@@ -115,9 +115,7 @@ export const USER_DESCRIPTION_VALIDATOR: BuildFormValidator = {
115} 115}
116 116
117export const USER_TERMS_VALIDATOR: BuildFormValidator = { 117export const USER_TERMS_VALIDATOR: BuildFormValidator = {
118 VALIDATORS: [ 118 VALIDATORS: [ Validators.requiredTrue ],
119 Validators.requiredTrue
120 ],
121 MESSAGES: { 119 MESSAGES: {
122 'required': $localize`You must agree with the instance terms in order to register on it.` 120 'required': $localize`You must agree with the instance terms in order to register on it.`
123 } 121 }