support authBlocked message

This commit is contained in:
Kyle Spearrin 2019-04-18 10:11:01 -04:00
parent 9539662166
commit c5f02f5cfb
2 changed files with 5 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit d3a2dfe2e8ea27662aaf189e155d81681ced0d8e
Subproject commit bc43c68eb98799c8b9e30a1dd8f60431dc1236c6

View File

@ -100,6 +100,10 @@ export class AppComponent implements OnInit {
});
this.changeDetectorRef.detectChanges();
});
} else if (msg.command === 'authBlocked') {
this.ngZone.run(() => {
this.router.navigate(['home']);
});
} else if (msg.command === 'locked') {
this.stateService.purge();
this.ngZone.run(() => {