From 3f7463ae6ded2eef78c2106135b3d7c0a400d5b8 Mon Sep 17 00:00:00 2001 From: Argenis Date: Fri, 20 Mar 2026 18:49:15 -0400 Subject: [PATCH] fix(config): remove duplicate default_otp_challenge_max_attempts function (#4097) PR #3921 accidentally introduced a duplicate definition of default_otp_challenge_max_attempts() in config/schema.rs, causing compilation to fail on master (E0428: name defined multiple times). --- src/config/schema.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/config/schema.rs b/src/config/schema.rs index 9e3d09499..29d7c6fcc 100644 --- a/src/config/schema.rs +++ b/src/config/schema.rs @@ -5491,10 +5491,6 @@ fn default_otp_gated_actions() -> Vec { ] } -fn default_otp_challenge_max_attempts() -> u32 { - 3 -} - impl Default for OtpConfig { fn default() -> Self { Self {