aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/login')
-rw-r--r--src/app/components/login/login.component.ts10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/app/components/login/login.component.ts b/src/app/components/login/login.component.ts
index f64848c..edbc461 100644
--- a/src/app/components/login/login.component.ts
+++ b/src/app/components/login/login.component.ts
@@ -1,5 +1,5 @@
import { Component, OnInit, ViewChild } from '@angular/core';
-import { FormGroup, FormBuilder, Validators, FormControl, AbstractControl } from '@angular/forms';
+import { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';
import { Router } from '@angular/router';
import { Title } from '@angular/platform-browser';
import { UserService } from 'src/app/services/user.service';
@@ -48,12 +48,4 @@ export class LoginComponent implements OnInit {
onRedirectRegister(): void {
this._router.navigate(['/register']);
}
-
- get username(): AbstractControl | null {
- return this.loginUserFormGroup.get('username');
- }
-
- get password(): AbstractControl | null {
- return this.loginUserFormGroup.get('password');
- }
}