mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Require unlock to list device approvals (#9378)
This commit is contained in:
parent
81c1456f6b
commit
5bdb42a44b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user