Skip to content

Commit a70528b

Browse files
committed
correct build error
1 parent 9f89133 commit a70528b

File tree

1 file changed

+4
-0
lines changed
  • crates/bitwarden-core/src/admin_console

1 file changed

+4
-0
lines changed

crates/bitwarden-core/src/admin_console/policy.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pub enum PolicyType {
4949
RemoveUnlockWithPin = 14,
5050
RestrictedItemTypesPolicy = 15,
5151
UriMatchDefaults = 16,
52+
AutomaticUserConfirmation = 18,
5253
AutotypeDefaultSetting = 17,
5354
}
5455

@@ -107,6 +108,9 @@ impl From<bitwarden_api_api::models::PolicyType> for PolicyType {
107108
bitwarden_api_api::models::PolicyType::AutotypeDefaultSetting => {
108109
PolicyType::AutotypeDefaultSetting
109110
}
111+
bitwarden_api_api::models::PolicyType::AutomaticUserConfirmation => {
112+
PolicyType::AutomaticUserConfirmation
113+
}
110114
}
111115
}
112116
}

0 commit comments

Comments
 (0)