From 5d9f65cd92b7da78fdb2a378793d87aa07c2fe08 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 18 Apr 2016 16:17:41 +0100 Subject: [PATCH] Fixed code issues --- demo-shell-ng2/app/components/login.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-shell-ng2/app/components/login.ts b/demo-shell-ng2/app/components/login.ts index ad8afb2243..f3b94967cd 100644 --- a/demo-shell-ng2/app/components/login.ts +++ b/demo-shell-ng2/app/components/login.ts @@ -23,7 +23,7 @@ export class Login { constructor(fb: FormBuilder, public auth: Authentication, public router: Router) { this.form = fb.group({ - username: ['', Validators.compose([Validators.required, Validators.minLength(4)]); + username: ['', Validators.compose([Validators.required, Validators.minLength(4)])], password: ['', Validators.required] }); }