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] }); }