private key go to login

This commit is contained in:
Blair Vanderlugt 2021-06-12 09:18:17 -07:00
parent a93be027c6
commit f4b36a0db8
1 changed files with 3 additions and 0 deletions

View File

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