fix: Use the right error code for CAPTCHA errors

This commit is contained in:
Ginger
2026-06-08 09:33:06 -04:00
parent 809a9429dc
commit 5c16cb60fd
+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(),
))
},