diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 2e740a8..9898140 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -156,8 +156,13 @@ export class LoginComponent implements OnInit, AfterViewInit { this.userService.findUser(); this.userUpdate.subscribe((user) => { if (user.blocktime > 0) { - if(this.myStepper!.selectedIndex === 1){ + if(this.myStepper!.selectedIndex === 0) { this.myStepper!.next(); + this.myStepper!.next(); + } else { + if(this.myStepper!.selectedIndex === 1){ + this.myStepper!.next(); + } } //console.log('Log in found in blockchain!'); if (user.validated) {