From 8f749eacefe715370617237e4c2da771eaecec2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABlle=20Huisman?= Date: Tue, 27 May 2025 11:41:48 +0200 Subject: [PATCH] fix(user-management): rename authentication factor type to snake case --- src/mfa/types/authentication_factor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mfa/types/authentication_factor.rs b/src/mfa/types/authentication_factor.rs index 0159dbb..5092192 100644 --- a/src/mfa/types/authentication_factor.rs +++ b/src/mfa/types/authentication_factor.rs @@ -12,6 +12,7 @@ pub struct AuthenticationFactorId(String); /// The type of the authentication factor. #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)] +#[serde(rename_all = "snake_case")] pub enum AuthenticationFactorTypeString { /// Time-based one-time password (TOTP). Totp,