mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
enable lock timeout
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 7b05416d55...cd3c2ddff1
@@ -90,10 +90,10 @@ export class AppComponent implements OnDestroy, OnInit {
|
||||
this.logOut(!!message.expired);
|
||||
break;
|
||||
case 'lockVault':
|
||||
//await this.lockService.lock();
|
||||
await this.lockService.lock();
|
||||
break;
|
||||
case 'locked':
|
||||
//this.router.navigate(['lock']);
|
||||
this.router.navigate(['lock']);
|
||||
break;
|
||||
case 'syncStarted':
|
||||
break;
|
||||
|
||||
@@ -72,6 +72,10 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
|
||||
return false;
|
||||
}
|
||||
|
||||
lockTimeout(): number {
|
||||
return 15;
|
||||
}
|
||||
|
||||
launchUri(uri: string, options?: any): void {
|
||||
const a = document.createElement('a');
|
||||
a.href = uri;
|
||||
|
||||
Reference in New Issue
Block a user