Correct login page flow

This commit is contained in:
Rene Vergara 2022-05-20 15:41:57 -05:00
parent 8b1f2b075e
commit f4caa11800
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 6 additions and 1 deletions

View File

@ -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) {