fix: Use the right error code for CAPTCHA errors

This commit is contained in:
Ginger
2026-06-16 12:50:43 -04:00
parent 3f263714c3
commit 1442cfcb4f
+1 -1
View File
@@ -556,7 +556,7 @@ async fn check_stage(
| Err(e) => {
error!("ReCaptcha verification failed: {e:?}");
Err(StandardErrorBody::new(
ErrorKind::Forbidden,
ErrorKind::CaptchaInvalid,
"ReCaptcha verification failed".to_owned(),
))
},