1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

Require unlock to list device approvals (#9378)

This commit is contained in:
Thomas Rittson
2024-05-29 00:39:40 +10:00
committed by GitHub
parent 81c1456f6b
commit 5bdb42a44b

View File

@@ -30,7 +30,7 @@ export class DeviceApprovalProgram extends BaseProgram {
.argument("<organizationId>")
.action(async (organizationId: string) => {
await this.exitIfFeatureFlagDisabled(FeatureFlag.BulkDeviceApproval);
await this.exitIfNotAuthed();
await this.exitIfLocked();
const cmd = new ListCommand();
const response = await cmd.run(organizationId);