From a7addd54fc247444be98a156df912cb0a153cdb6 Mon Sep 17 00:00:00 2001 From: Mojca Colnik Date: Tue, 25 May 2021 18:09:28 +0200 Subject: [PATCH] fix(login): fix typo in formBuilder in login component --- web/abstruse/src/app/auth/login/login.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/abstruse/src/app/auth/login/login.component.ts b/web/abstruse/src/app/auth/login/login.component.ts index 0a55c8980..69fdf5170 100644 --- a/web/abstruse/src/app/auth/login/login.component.ts +++ b/web/abstruse/src/app/auth/login/login.component.ts @@ -20,7 +20,7 @@ export class LoginComponent implements OnInit { submitted = false; constructor( - private fromBuilder: FormBuilder, + private formBuilder: FormBuilder, private auth: AuthService, private setup: SetupService, private router: Router @@ -59,7 +59,7 @@ export class LoginComponent implements OnInit { } private createForm(): void { - this.loginForm = this.fromBuilder.group({ + this.loginForm = this.formBuilder.group({ email: ['', Validators.required], password: ['', Validators.required] });