mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Add 'lock_vault' command (#1450)
* Update manifest.json Add additional command to lock the vault * Update shortcuts.ts add mousetrap binding for lock_vault command * Update commands.background.ts add option to lock vault with shortcut * Update messages.json add german key for lock_vault * Update messages.json add english key for 'lock_vault' command * remove commandLockVaultDesc from de message pack * Update messages.json * Update shortcuts.ts update comment for safari keybinding * Update shortcuts.ts remove confusing comment Co-authored-by: ljakobitz@dev5310.com <ljakobitz@dev5310.com> Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
This commit is contained in:
@@ -44,6 +44,9 @@ export default class CommandsBackground {
|
||||
case 'open_popup':
|
||||
await this.openPopup();
|
||||
break;
|
||||
case 'lock_vault':
|
||||
await this.vaultTimeoutService.lock(true);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user