diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 2712dc0..62695a1 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -24,15 +24,16 @@ export class LoginComponent implements OnInit { } requestAuthentication() { - this.authService.authenticateUser(this.credentials).then((data: any) => { - localStorage.vendor_token = data.accessToken; - this.router.navigate(['shop-details']); - }, (err: any) => { - this.errorMessage = err.error.message; - setTimeout(() => { - this.errorMessage = ''; - }, 3000); - }); + // this.authService.authenticateUser(this.credentials).then((data: any) => { + // localStorage.vendor_token = data.accessToken; + // this.router.navigate(['shop-details']); + // }, (err: any) => { + // this.errorMessage = err.error.message; + // setTimeout(() => { + // this.errorMessage = ''; + // }, 3000); + // }); + this.router.navigate(['shop-details']); } }