mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Require unlock to list device approvals (#9378)
This commit is contained in:
@@ -30,7 +30,7 @@ export class DeviceApprovalProgram extends BaseProgram {
|
|||||||
.argument("<organizationId>")
|
.argument("<organizationId>")
|
||||||
.action(async (organizationId: string) => {
|
.action(async (organizationId: string) => {
|
||||||
await this.exitIfFeatureFlagDisabled(FeatureFlag.BulkDeviceApproval);
|
await this.exitIfFeatureFlagDisabled(FeatureFlag.BulkDeviceApproval);
|
||||||
await this.exitIfNotAuthed();
|
await this.exitIfLocked();
|
||||||
|
|
||||||
const cmd = new ListCommand();
|
const cmd = new ListCommand();
|
||||||
const response = await cmd.run(organizationId);
|
const response = await cmd.run(organizationId);
|
||||||
|
|||||||
Reference in New Issue
Block a user