private key go to login

This commit is contained in:
Blair Vanderlugt 2021-06-12 09:18:17 -07:00
parent a93be027c6
commit f4b36a0db8

View File

@ -29,6 +29,9 @@ export class AuthComponent implements OnInit {
this.keyForm = this.formBuilder.group({ this.keyForm = this.formBuilder.group({
key: ['', Validators.required], key: ['', Validators.required],
}); });
if (this.authService.getPrivateKey()) {
this.authService.loginView();
}
} }
get keyFormStub(): any { get keyFormStub(): any {