1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

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

Submodule jslib updated: d3a2dfe2e8...bc43c68eb9

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(() => {