Merge branch 'bvander/private-key-noauth' into 'master'

private key go to login

See merge request grassrootseconomics/cic-staff-client!33
This commit is contained in:
Blair Vanderlugt 2021-06-12 16:55:42 +00:00
commit d7c0baad63
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 {