Skip to content

Commit

Permalink
fix: correct hcaptcha length (#548)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Feb 28, 2024
1 parent 4f4ff2c commit 748aaa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions svc/pkg/game/ops/version-validate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 748aaa8

Please sign in to comment.