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

View file

@ -156,9 +156,14 @@ export class LoginComponent implements OnInit, AfterViewInit {
this.userService.findUser();
this.userUpdate.subscribe((user) => {
if (user.blocktime > 0) {
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) {
if (this.owner.paid) {