mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +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);
|
this.logOut(!!message.expired);
|
||||||
break;
|
break;
|
||||||
case 'lockVault':
|
case 'lockVault':
|
||||||
//await this.lockService.lock();
|
await this.lockService.lock();
|
||||||
break;
|
break;
|
||||||
case 'locked':
|
case 'locked':
|
||||||
//this.router.navigate(['lock']);
|
this.router.navigate(['lock']);
|
||||||
break;
|
break;
|
||||||
case 'syncStarted':
|
case 'syncStarted':
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -72,6 +72,10 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lockTimeout(): number {
|
||||||
|
return 15;
|
||||||
|
}
|
||||||
|
|
||||||
launchUri(uri: string, options?: any): void {
|
launchUri(uri: string, options?: any): void {
|
||||||
const a = document.createElement('a');
|
const a = document.createElement('a');
|
||||||
a.href = uri;
|
a.href = uri;
|
||||||
|
|||||||
Reference in New Issue
Block a user