Replace fakeLogin() with actual login() method in AuthService and remove redundant fakeLogin() implementation.
This commit is contained in:
1 parent
f0faa63ca7
commit
cce83a08de
2 files changed
+1
-9
No files matched your search
@@ -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