fix: Use the right error code for CAPTCHA errors

This commit is contained in:
Ginger committed 2026-06-29 09:35:50 -04:00
1 parent 47582d1922
commit d0c7a62ce7
1 file changed
+1 -1
+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(),
))
},