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:
commit
d7c0baad63
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user