1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-04 05:08:06 +02: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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