Replace fakeLogin() with actual login() method in AuthService and remove redundant fakeLogin() implementation.
This commit is contained in:
@@ -53,8 +53,7 @@ export class LoginDialogComponent {
|
||||
return;
|
||||
}
|
||||
this.snackBar.open('Logging in...', '', {duration: 2000});
|
||||
// this.authService.login(this.loginForm.value.code).subscribe({
|
||||
this.authService.fakeLogin().subscribe({
|
||||
this.authService.login(this.loginForm.value.code).subscribe({
|
||||
next: (jwt) => {
|
||||
this.dialogRef.close(jwt);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user