Fix hCaptcha verification.

This commit is contained in:
Paul Makles committed 2020-08-13 13:56:54 +02:00
1 parent f44180a980
commit 49044d7796
1 file changed
+1 -1
+1 -1
View File
@@ -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