mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
enable lock timeout
This commit is contained in:
parent
ea6317e3a2
commit
b93b9feee4
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 7b05416d556c6041e638ec5fcb58a060062cda84
|
||||
Subproject commit cd3c2ddff1abd66c6318d981a389685dc82cfc0e
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user