mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
support authBlocked message
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: d3a2dfe2e8...bc43c68eb9
@@ -100,6 +100,10 @@ export class AppComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
this.changeDetectorRef.detectChanges();
|
this.changeDetectorRef.detectChanges();
|
||||||
});
|
});
|
||||||
|
} else if (msg.command === 'authBlocked') {
|
||||||
|
this.ngZone.run(() => {
|
||||||
|
this.router.navigate(['home']);
|
||||||
|
});
|
||||||
} else if (msg.command === 'locked') {
|
} else if (msg.command === 'locked') {
|
||||||
this.stateService.purge();
|
this.stateService.purge();
|
||||||
this.ngZone.run(() => {
|
this.ngZone.run(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user