userName: ['', [Validators.required]],
password: ['', [Validators.required]]
});
userName: ['', [Validators.required]],
password: ['', [Validators.required]]
});
}, (err: HttpErrorResponse): void => {
this.isLoadingResults = false;
this.restService.handleError(err, 'post');
}, (err: HttpErrorResponse): void => {
this.isLoadingResults = false;
this.restService.handleError(err, 'post');