1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

enable lock timeout

This commit is contained in:
Kyle Spearrin 2018-06-09 14:55:34 -04:00
parent ea6317e3a2
commit b93b9feee4
3 changed files with 7 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit 7b05416d556c6041e638ec5fcb58a060062cda84
Subproject commit cd3c2ddff1abd66c6318d981a389685dc82cfc0e

View File

@ -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;

View File

@ -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;