Skip to content

Commit

Permalink
Run fmt again
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Jan 16, 2024
1 parent 3ac3ba4 commit d253213
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions crates/bitwarden/src/admin_console/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ pub struct Policy {
#[derive(Serialize_repr, Deserialize_repr, Debug, JsonSchema)]
#[repr(u8)]
pub enum PolicyType {
TwoFactorAuthentication = 0, // Requires users to have 2fa enabled
MasterPassword = 1, // Sets minimum requirements for master password complexity
PasswordGenerator = 2, /* Sets minimum requirements/default type for generated
* passwords/passphrases */
SingleOrg = 3, // Allows users to only be apart of one organization
RequireSso = 4, // Requires users to authenticate with SSO
PersonalOwnership = 5, // Disables personal vault ownership for adding/cloning items
DisableSend = 6, // Disables the ability to create and edit Bitwarden Sends
SendOptions = 7, // Sets restrictions or defaults for Bitwarden Sends
ResetPassword = 8, /* Allows orgs to use reset password : also can enable
* auto-enrollment during invite flow */
TwoFactorAuthentication = 0, // Requires users to have 2fa enabled
MasterPassword = 1, // Sets minimum requirements for master password complexity
PasswordGenerator = 2, /* Sets minimum requirements/default type for generated
* passwords/passphrases */
SingleOrg = 3, // Allows users to only be apart of one organization
RequireSso = 4, // Requires users to authenticate with SSO
PersonalOwnership = 5, // Disables personal vault ownership for adding/cloning items
DisableSend = 6, // Disables the ability to create and edit Bitwarden Sends
SendOptions = 7, // Sets restrictions or defaults for Bitwarden Sends
ResetPassword = 8, /* Allows orgs to use reset password : also can enable
* auto-enrollment during invite flow */
MaximumVaultTimeout = 9, // Sets the maximum allowed vault timeout
DisablePersonalVaultExport = 10, // Disable personal vault export
ActivateAutofill = 11, // Activates autofill with page load on the browser extension
Expand Down

0 comments on commit d253213

Please sign in to comment.