aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DevHive.Angular/src/app/components/register/register.component.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/DevHive.Angular/src/app/components/register/register.component.ts b/src/DevHive.Angular/src/app/components/register/register.component.ts
index 3226833..2619353 100644
--- a/src/DevHive.Angular/src/app/components/register/register.component.ts
+++ b/src/DevHive.Angular/src/app/components/register/register.component.ts
@@ -26,11 +26,6 @@ export class RegisterComponent implements OnInit {
Validators.required,
Validators.minLength(3)
]],
- age: [null, [
- Validators.required,
- Validators.min(14),
- Validators.max(120),
- ]],
username: ['', [
Validators.required,
Validators.minLength(3)
@@ -72,10 +67,6 @@ export class RegisterComponent implements OnInit {
return this.registerUserFormGroup.get('lastName');
}
- get age() {
- return this.registerUserFormGroup.get('age');
- }
-
get username() {
return this.registerUserFormGroup.get('username');
}