diff --git a/src/app/auth/auth.component.ts b/src/app/auth/auth.component.ts index 4272cec..377b8ce 100644 --- a/src/app/auth/auth.component.ts +++ b/src/app/auth/auth.component.ts @@ -29,6 +29,9 @@ export class AuthComponent implements OnInit { this.keyForm = this.formBuilder.group({ key: ['', Validators.required], }); + if (this.authService.getPrivateKey()) { + this.authService.loginView(); + } } get keyFormStub(): any {