private key go to login
This commit is contained in:
parent
a93be027c6
commit
f4b36a0db8
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user