mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-01 00:10:39 +02:00
parent
17e4b88258
commit
b55398d7ac
|
@ -14,8 +14,6 @@ export class LaunchGuardService implements CanActivate {
|
|||
constructor(private cryptoService: CryptoService, private userService: UserService, private router: Router) { }
|
||||
|
||||
async canActivate() {
|
||||
console.log('bg:');
|
||||
console.log(BrowserApi.getBackgroundPage());
|
||||
if (BrowserApi.getBackgroundPage() == null) {
|
||||
this.router.navigate(['private-mode']);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user