diff --git a/src/util/captcha.rs b/src/util/captcha.rs index a9f62137a98acb9e4c3e68b9dbe1fceb8d905079..caa672b6e35b128583493c665e66cb0d115d98ee 100644 --- a/src/util/captcha.rs +++ b/src/util/captcha.rs @@ -18,7 +18,7 @@ pub fn verify(user_token: &Option<String>) -> Result<(), String> { let client = Client::new(); if let Ok(response) = client .post("https://hcaptcha.com/siteverify") - .json(&map) + .form(&map) .send() { let result: CaptchaResponse = response