Replace fakeLogin() with actual login() method in AuthService and remove redundant fakeLogin() implementation.

This commit is contained in:
2025-07-04 23:32:08 +02:00
parent f0faa63ca7
commit cce83a08de
2 changed files with 1 additions and 9 deletions
@@ -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);
},