From f4b36a0db830f25edcd50b120ac97fcd2145f41b Mon Sep 17 00:00:00 2001 From: Blair Vanderlugt Date: Sat, 12 Jun 2021 09:18:17 -0700 Subject: [PATCH] private key go to login --- src/app/auth/auth.component.ts | 3 +++ 1 file changed, 3 insertions(+) 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 {