From 748aaa8d38a724b5f5f3bac0d7993cb7ace50045 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Wed, 28 Feb 2024 21:47:36 +0000 Subject: [PATCH] fix: correct hcaptcha length (#548) ## Changes --- svc/pkg/game/ops/version-validate/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svc/pkg/game/ops/version-validate/src/lib.rs b/svc/pkg/game/ops/version-validate/src/lib.rs index 6e89aa932f..4a6c565c8d 100644 --- a/svc/pkg/game/ops/version-validate/src/lib.rs +++ b/svc/pkg/game/ops/version-validate/src/lib.rs @@ -282,7 +282,7 @@ async fn handle( "site-key", "too-short", ]); - } else if site_key.len() > 30 { + } else if site_key.len() > 36 { errors.push(util::err_path![ "config", "matchmaker", @@ -313,7 +313,7 @@ async fn handle( "secret-key", "too-short", ]); - } else if secret_key.len() > 40 { + } else if secret_key.len() > 42 { errors.push(util::err_path![ "config", "matchmaker",