Update login.component.ts
This commit is contained in:
1 parent
a618ce90b1
commit
922cff2135
1 file changed
+1
-1
@@ -78,7 +78,7 @@ export class LoginComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
this.authService.login(this.username, this.password).subscribe(observer);
|
this.authService.login(this.username.trim, this.password).subscribe(observer);
|
||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewInit() {
|
ngAfterViewInit() {
|
||||||
|
|||||||
Reference in new issue
Block a user