|
|
@@ -73,14 +73,14 @@ export class LoginComponent implements OnInit {
|
|
|
this.authService.signIn(this.formGroup.value).subscribe(
|
|
|
data => {
|
|
|
// this.router.navigate([this.returnUrl]);
|
|
|
- console.log(data)
|
|
|
+ console.log(data);
|
|
|
this.loading = false;
|
|
|
this.router.navigate(['auth']);
|
|
|
},
|
|
|
err => {
|
|
|
this.loading = false;
|
|
|
- console.log(err.error.message)
|
|
|
- this.authService.openSnackBar(err.error.message)
|
|
|
+ console.log(err.error.message);
|
|
|
+ this.authService.openSnackBar(err.error.message);
|
|
|
});
|
|
|
// this.router.navigate(['/']);
|
|
|
|